commit 2df6bd80a737b9782f1f64d419a8276bd263cd34
parent 08dd9405e2e3f4c774e5eb21c9f3b0be4038d31c
Author: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Mon, 17 Jan 2022 20:50:33 -0500
saturn: Provide usable lua shebang
The end-result can be executed directly on my NixOS system.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/saturn/Makefile b/saturn/Makefile
@@ -7,7 +7,7 @@ MODULES=main.fnl
lua $(FENNEL) --compile $< > $@
saturn: $(patsubst %.fnl,%.lua,$(MODULES)) Makefile
- (echo -e "#!/usr/bin/lua\n" ; cat main.lua ) > $@
+ (echo -e "#!/usr/bin/env lua\n" ; cat main.lua ) > $@
chmod +x $@
install: