aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2013-12-18 23:01:50 -0200
committerHisham Muhammad <hisham@gobolinux.org>2013-12-18 23:01:50 -0200
commite0fc42d99562793236aaac62e73be2b4fc5317c6 (patch)
tree944365083fbe4ea3d3c13629b4c0a824e79df6b8 /Makefile
parent0f172cbc35e3585aab443663e7c87f617c272833 (diff)
downloadluarocks-e0fc42d99562793236aaac62e73be2b4fc5317c6.tar.gz
luarocks-e0fc42d99562793236aaac62e73be2b4fc5317c6.tar.bz2
luarocks-e0fc42d99562793236aaac62e73be2b4fc5317c6.zip
Make default rocks_trees named as well.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7a9eae1e..bf7a6db8 100644
--- a/Makefile
+++ b/Makefile
@@ -166,9 +166,9 @@ write_sysconfig:
166 echo 'rocks_trees = {' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ 166 echo 'rocks_trees = {' >> "$(DESTDIR)$(CONFIG_FILE)" ;\
167 if [ ! -n "$(FORCE_CONFIG)" ] ;\ 167 if [ ! -n "$(FORCE_CONFIG)" ] ;\
168 then \ 168 then \
169 echo ' home..[[/.luarocks]],' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ 169 echo ' { name = [[user]], root = home..[[/.luarocks]] },' >> "$(DESTDIR)$(CONFIG_FILE)" ;\
170 fi ;\ 170 fi ;\
171 echo ' [[$(ROCKS_TREE)]]' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ 171 echo ' { name = [[system]], root = [[$(ROCKS_TREE)]] }' >> "$(DESTDIR)$(CONFIG_FILE)" ;\
172 echo '}' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ 172 echo '}' >> "$(DESTDIR)$(CONFIG_FILE)" ;\
173 fi 173 fi
174 174