Skip to content

Commit

Permalink
Exit if the curl OTP fetch fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
archaelus committed Jul 23, 2012
1 parent 96b2152 commit d2a3df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Expand Up @@ -30,7 +30,7 @@ echo "-----> Using Erlang/OTP $ver"
rm -rf ${cache}/* # be sure not to build up cruft
cd ${cache}
echo "-------> Fetching Erlang/OTP $ver"
curl -sO ${OTP_TARBALL_URL}
curl -sO ${OTP_TARBALL_URL} || exit 1
)

echo "-------> Unpacking Erlang/OTP $ver"
Expand Down

0 comments on commit d2a3df7

Please sign in to comment.