forked from KolibriOS/kolibrios
Running programs in the current directory with Shell is fixed.
git-svn-id: svn://kolibrios.org@1862 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -26,6 +26,7 @@ if ( '/' == cmd[0]) //
|
||||
else
|
||||
{
|
||||
strcpy(exec, cur_dir); // ¯à®¢¥à塞 ä ©« ¢ ⥪ã饬 ª â «®£¥
|
||||
strcat(exec, "/"); // add slash
|
||||
strcat(exec, cmd);
|
||||
|
||||
if ( !file_check(exec) ) // ¯à®¢¥à塞 áãé¥á⢮¢ ¨¥ ä ©«
|
||||
|
||||
Reference in New Issue
Block a user