diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2012-03-09 21:37:32 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2012-03-09 21:37:32 -0300 |
commit | c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b (patch) | |
tree | ce1706888036624eefb7486f0a3496660ab4b1bc /Makefile | |
parent | 37aded056fae788088855b36281b1d23b0131fdb (diff) | |
parent | d2a4573ad42be8fe68bfd2b0aa73658f5748b1d8 (diff) | |
download | luarocks-c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b.tar.gz luarocks-c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b.tar.bz2 luarocks-c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b.zip |
Merge branch 'master' of github.com:keplerproject/luarocks
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -104,7 +104,8 @@ check_makefile: | |||
104 | cleanup_bins: | 104 | cleanup_bins: |
105 | for f in $(BIN_FILES) ;\ | 105 | for f in $(BIN_FILES) ;\ |
106 | do \ | 106 | do \ |
107 | sed -i.bak "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" src/bin/$$f ;\ | 107 | mv src/bin/$$f{,.bak} ;\ |
108 | sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\ | ||
108 | rm src/bin/$$f.bak ;\ | 109 | rm src/bin/$$f.bak ;\ |
109 | done | 110 | done |
110 | 111 | ||