diff options
Diffstat (limited to 'compile_lib.sh')
| -rwxr-xr-x | compile_lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compile_lib.sh b/compile_lib.sh index 6e4e78a..5757b6e 100755 --- a/compile_lib.sh +++ b/compile_lib.sh @@ -16,7 +16,7 @@ if [ "$FLUSH" = true ] ; then done fi -for file in $(cat lib/core.nom | lua -e "for filename in io.read('*a'):gmatch('require \"([^\"]*)\"') do print(filename) end") ; do +for file in $(cat lib/core.nom | lua -e "for filename in io.read('*a'):gmatch('use \"([^\"]*)\"') do print(filename) end") ; do compilefile="${file/\.nom/.lua}" if [ ! -e "$compilefile" ] || [ "$file" -nt "$compilefile" ] ; then echo "Compiling $file into $compilefile" |
