@@ -1,11 +1,11 @@
#!/bin/bash
-source $IROOT/rebar.installed
source $IROOT/erlang.installed
+source $IROOT/rebar.installed
sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/hello_world_app.erl
rm -rf deps/*
-rebar get-deps
-rebar compile
+$REBAR_HOME/rebar get-deps
+$REBAR_HOME/rebar compile
erl -pa ebin deps/*/ebin +sbwt very_long +swt very_low -s hello_world -noshell -detached
@@ -6,6 +6,6 @@ source $IROOT/rebar.installed
sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/elli_bench_sup.erl
erl -pa ebin deps/*/ebin +sbwt very_long +swt very_low -s elli_bench -noshell -detached
@@ -12,4 +12,4 @@ mv rebar-2.5.1 rebar
cd rebar
./bootstrap
-echo "export PATH=$PATH:$IROOT/rebar" >> $IROOT/rebar.installed
+echo "export REBAR_HOME=$IROOT/rebar" >> $IROOT/rebar.installed