Fix runtime errors in cleanup script.
This commit is contained in:
parent
429a1d5302
commit
bcc77ca248
4
clean.ks
4
clean.ks
|
@ -8,7 +8,7 @@ function cleanDir {
|
||||||
|
|
||||||
print "Entering '" + dir + "'.".
|
print "Entering '" + dir + "'.".
|
||||||
cd(dir).
|
cd(dir).
|
||||||
compileHere().
|
cleanHere().
|
||||||
cd("..").
|
cd("..").
|
||||||
print "Leaving '" + dir + "'.".
|
print "Leaving '" + dir + "'.".
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ function cleanHere {
|
||||||
deletepath(f).
|
deletepath(f).
|
||||||
}
|
}
|
||||||
} else if f:NAME[0] <> "." {
|
} else if f:NAME[0] <> "." {
|
||||||
compileDir(f).
|
cleanDir(f).
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user