better without -p

This commit is contained in:
Axel Kittenberger 2012-02-16 16:16:32 +01:00
parent 0d47c294d1
commit 6faf99d952
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ default.direct = {
if event.isdir then
spawn(
event,
'/bin/mkdir', '-p',
'/bin/mkdir',
event.targetPath
)
else

View File

@ -81,7 +81,7 @@ testfiles();
cwriteln('ok, removing sources');
if srcdir:sub(1,4) ~= '/tmp' then
-- just to make sure before rm -rf
cwriteln('exist before drama, srcdir is '', srcdir, ''');
cwriteln('exist before drama, srcdir is "', srcdir, '"');
os.exit(1);
end
os.execute('rm -rf '..srcdir..'/*');