You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
669 B

  1. diff -rupN luarocks/Makefile luarocks.new/Makefile
  2. --- luarocks/Makefile 2015-02-19 13:24:07.027310956 +0200
  3. +++ luarocks.new/Makefile 2015-02-22 13:28:24.497353543 +0200
  4. @@ -104,7 +104,7 @@ build_bins: cleanup_bins
  5. for f in $(BIN_FILES) ;\
  6. do \
  7. sed "1d" src/bin/$$f > src/bin/$$f.bak ;\
  8. - echo "#!$(LUA_BINDIR)/lua$(LUA_SUFFIX)" > src/bin/$$f ;\
  9. + echo "#!/usr/bin/env lua5.1" > src/bin/$$f ;\
  10. echo "package.path = [[$(LUADIR)/?.lua;]]..package.path" | sed "s,//,/,g" >> src/bin/$$f ;\
  11. cat src/bin/$$f.bak >> src/bin/$$f ;\
  12. chmod +x src/bin/$$f ;\
  13. Binary files luarocks/src/bin/.luarocks.swp and luarocks.new/src/bin/.luarocks.swp differ