comparison luabuild/luarocks-2.0.12/make.out @ 1133:6518311459ee

<GreyKnight> (cd luabuild/luarocks-2.0.12; make > make.out 2> make.err)
author HackBot
date Fri, 14 Dec 2012 22:25:08 +0000
parents
children 5077917e065a
comparison
equal deleted inserted replaced
1132:d137f631bad5 1133:6518311459ee
1 for f in luarocks luarocks-admin ;\
2 do \
3 mv src/bin/$f src/bin/$f.bak ;\
4 sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$f.bak > src/bin/$f ;\
5 chmod +x src/bin/$f ;\
6 rm -f src/bin/$f.bak ;\
7 done
8 for f in luarocks luarocks-admin ;\
9 do \
10 sed "1d" src/bin/$f > src/bin/$f.bak ;\
11 echo "#!/hackenv/bin/lua" > src/bin/$f ;\
12 echo "package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path" >> src/bin/$f ;\
13 cat src/bin/$f.bak >> src/bin/$f ;\
14 chmod +x src/bin/$f ;\
15 rm -f src/bin/$f.bak ;\
16 done
17 touch built
18
19 Done. Type 'make install' to install into /hackenv.
20