Broken moonscript module fixed.

This commit is contained in:
Luka Vandervelden 2016-04-06 13:26:23 +02:00
parent 2024b1e1f9
commit 671fac6d8f

View File

@ -20,9 +20,9 @@ function moon.build {
if [[ -z "${install[$target]}" ]]; then
write "\t${Q}echo '#!/usr/bin/env lua' > '${target}'"
write "\t${Q}moonc -p $S >> '${target}'"
write "\t${Q}chmod +x '${target}'"
else
write "\t${Q}moonc -p $S > '${target}'"
write "\t${Q}chmod +x '${basename}'"
fi
fi