зеркало из
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-09-28 15:12:45 -04:00
made os.chdir play nicer with the filesystem
Этот коммит содержится в:
родитель
4e276c9ccd
Коммит
00a0889842
@ -10,7 +10,7 @@ function os.chdir(p) -- changes the current working directory of the calling pro
|
||||
end
|
||||
p = "/"..table.concat(np,"/")
|
||||
end
|
||||
if fs.exists(p) and fs.list(p) then
|
||||
if fs.list(p) then
|
||||
os.setenv("PWD",p)
|
||||
else
|
||||
return false, "no such directory"
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user