forked from KolibriOS/kolibrios
SHELL: fix for #3988
git-svn-id: svn://kolibrios.org@4109 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a4ff20fb1d
commit
0ea10be928
@ -140,7 +140,7 @@ else
|
|||||||
if (PARAM[0] == '/')
|
if (PARAM[0] == '/')
|
||||||
{
|
{
|
||||||
strcpy(cur_dir, PARAM);
|
strcpy(cur_dir, PARAM);
|
||||||
*strrchr(cur_dir, '/')=0;
|
*(strrchr(cur_dir, '/')+1)=0;
|
||||||
}
|
}
|
||||||
strcpy(CMD, PARAM);
|
strcpy(CMD, PARAM);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user