Rev 4106 | Rev 6826 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4106 | Rev 4109 | ||
---|---|---|---|
Line 138... | Line 138... | ||
138 | { |
138 | { |
139 | if (PARAM[0] == '/') |
139 | if (PARAM[0] == '/') |
140 | { |
140 | { |
141 | strcpy(cur_dir, PARAM); |
141 | strcpy(cur_dir, PARAM); |
142 | *strrchr(cur_dir, '/')=0; |
142 | *(strrchr(cur_dir, '/')+1)=0; |
143 | } |
143 | } |
144 | strcpy(CMD, PARAM); |
144 | strcpy(CMD, PARAM); |
145 | } |
145 | } |
146 | 146 | ||
Line 147... | Line 147... | ||
147 | command_execute(); |
147 | command_execute(); |