2016-09-26 15:21:21 +02:00
|
|
|
diff -u -r ../luarocks-2.4.0/Makefile ./Makefile
|
|
|
|
--- ../luarocks-2.4.0/Makefile 2016-09-08 14:39:09.000000000 -0400
|
|
|
|
+++ ./Makefile 2016-09-26 09:15:45.364036927 -0400
|
|
|
|
@@ -116,7 +116,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
for f in $(BIN_FILES) ;\
|
|
|
|
do \
|
|
|
|
mv src/bin/$$f src/bin/$$f.bak ;\
|
|
|
|
- sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\
|
|
|
|
+ sed "s,^#!.*lua.*,#!/usr/bin/env luajit,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\
|
2016-09-26 15:21:21 +02:00
|
|
|
chmod +rx src/bin/$$f ;\
|
2015-06-13 01:03:31 +02:00
|
|
|
rm -f src/bin/$$f.bak ;\
|
|
|
|
done
|