kolibrios/programs/system/shell/cmd/cmd_pwd.c
Albom efbefc84b9 Shell: pwd cmd fix
git-svn-id: svn://kolibrios.org@2631 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-19 03:20:58 +00:00

7 lines
124 B
C

int cmd_pwd(char param[])
{
printf (" %s%c\n\r", cur_dir, cur_dir[strlen(cur_dir)-1]=='/'?' ':'/' );
return TRUE;
}