Skip to content

Commit

Permalink
Removed bash var expansion in Makefile as it doesn't work in all shells.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfeidau authored and Garrett Smith committed Jun 25, 2012
1 parent e3b02c6 commit 75ff90c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
@@ -1,4 +1,5 @@
rebar = ./rebar
scripts = start stop status

compile: deps
$(rebar) compile
Expand Down Expand Up @@ -48,7 +49,7 @@ env-module:

new-project: env-appid env-appdir
$(rebar) create template=e2app appid=${appid} dest="${appdir}"
chmod 755 "${appdir}"/{start,stop,status}
$(foreach var,$(scripts),chmod 755 ${appdir}/$(var);)

new-service: env-module
$(rebar) create template=e2service module=${module} dest="$${appdir-.}" skip_deps=true
Expand Down

0 comments on commit 75ff90c

Please sign in to comment.