Merge pull request #1035 from bobsummerwill/install_deps

Added missing "stop on error" to scripts/install.sh
This commit is contained in:
Bob Summerwill 2016-09-07 01:25:16 -07:00 committed by GitHub
commit 24524d6230

View File

@ -44,6 +44,8 @@
# (c) 2016 solidity contributors. # (c) 2016 solidity contributors.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
set -e
# Check for 'uname' and abort if it is not available. # Check for 'uname' and abort if it is not available.
uname -v > /dev/null 2>&1 || { echo >&2 "ERROR - solidity requires 'uname' to identify the platform."; exit 1; } uname -v > /dev/null 2>&1 || { echo >&2 "ERROR - solidity requires 'uname' to identify the platform."; exit 1; }