Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Add safety checks for start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
motiejus committed Jan 7, 2012
1 parent 4a7d4ed commit aee7157
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

./rebar compile
erl -config priv/silent_run.config -pa ebin/ -pa deps/*/ebin/ -boot start_sasl -s netsim start_app -s init stop -noshell -noinput
./rebar compile || exit 1
erl -config priv/silent_run.config -pa ebin/ -pa deps/*/ebin/ -boot start_sasl -s netsim start_app -s init stop -noshell -noinput || exit 1
echo -n "Drawing plot ... "
gnuplot -e ' call "time_percent.gp" "res/output.png" "res/output.txt"'
gnuplot -e ' call "generator/time_percent.gp" "res/output.png" "res/output.txt"' || exit 1
echo "done"
echo "Plot written to res/output.png"

0 comments on commit aee7157

Please sign in to comment.