diff --git a/compileall.ks b/compileall.ks index 2bbb02d..7580f0f 100644 --- a/compileall.ks +++ b/compileall.ks @@ -18,9 +18,11 @@ function compileHere { list files in fileList. for f in fileList { - if f:ISFILE and f:EXTENSION = "ks" { - print "Compiling '" + f:NAME + "'.". - compile f. + if f:ISFILE { + if f:EXTENSION = "ks" { + print "Compiling '" + f:NAME + "'.". + compile f. + } } else if f:NAME[0] <> "." { compileDir(f). }