Shell: pwd cmd fix

git-svn-id: svn://kolibrios.org@2631 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Albom 2012-04-19 03:20:58 +00:00
parent d6e0b2fc01
commit efbefc84b9
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
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;
}

View File

@ -1,5 +1,5 @@
#define SHELL_VERSION "0.5.2"
#define SHELL_VERSION "0.5.3"
extern char PATH[256];
extern char PARAM[256];