luarocks: Update from 2.3.0 to 2.4.0
[termux-packages] / packages / luarocks / Makefile.patch
CommitLineData
f1c33394
FF
1diff -u -r ../luarocks-2.4.0/Makefile ./Makefile
2--- ../luarocks-2.4.0/Makefile 2016-09-08 14:39:09.000000000 -0400
3+++ ./Makefile 2016-09-26 09:15:45.364036927 -0400
4@@ -116,7 +116,7 @@
59f0d218
FF
5 for f in $(BIN_FILES) ;\
6 do \
7 mv src/bin/$$f src/bin/$$f.bak ;\
8- sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\
9+ sed "s,^#!.*lua.*,#!/usr/bin/env luajit,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\
f1c33394 10 chmod +rx src/bin/$$f ;\
59f0d218
FF
11 rm -f src/bin/$$f.bak ;\
12 done