Skip to content

Commit

Permalink
Make start-dev.sh work on BSD systems
Browse files Browse the repository at this point in the history
In BSD, GNU make is normally named gmake.  In start-dev.sh, check if we
are in a BSD system set call gmake instead of make if the system is BSD.
  • Loading branch information
Silas Silva authored and etrepum committed Jul 18, 2010
1 parent 9396655 commit 7c2bc22
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion priv/skel/start-dev.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/bin/sh
cd `dirname $0`
make

MAKE=make
case `uname` in
*BSD)
MAKE=gmake
;;
esac

"${MAKE}"
exec erl -pa $PWD/ebin $PWD/deps/*/ebin -boot start_sasl -s reloader -s skel

0 comments on commit 7c2bc22

Please sign in to comment.