forked from KolibriOS/kolibrios
Shell: pwd cmd fix
git-svn-id: svn://kolibrios.org@2631 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d6e0b2fc01
commit
efbefc84b9
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
int cmd_pwd(char param[])
|
int cmd_pwd(char param[])
|
||||||
{
|
{
|
||||||
printf (" %s/\n\r", cur_dir);
|
printf (" %s%c\n\r", cur_dir, cur_dir[strlen(cur_dir)-1]=='/'?' ':'/' );
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#define SHELL_VERSION "0.5.2"
|
#define SHELL_VERSION "0.5.3"
|
||||||
|
|
||||||
extern char PATH[256];
|
extern char PATH[256];
|
||||||
extern char PARAM[256];
|
extern char PARAM[256];
|
||||||
|
Loading…
Reference in New Issue
Block a user