commit | 4d70a0176f3016b1b7fd30915da208d084e1ec24 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Wed Mar 26 17:56:40 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Wed Mar 26 17:56:40 2014 -0700 |
tree | de2ee3591198baf83b555b821d5cb87cea451f06 | |
parent | fe1ffe44b3ba1050b47bede11b37736390357ead [diff] [blame] |
Fail script on compilation error. - Fail on any error in the build script to catch build issue earlier. Change-Id: I951f61ad76096a3733224a97047abb56af029e97
diff --git a/setup-ramcloud.sh b/setup-ramcloud.sh index c34d649..77cca18 100755 --- a/setup-ramcloud.sh +++ b/setup-ramcloud.sh
@@ -1,5 +1,8 @@ #!/bin/sh +# fail on command error +set -e +# echo back each command set -x ONOS_HOME=${ONOS_HOME:-~/ONOS}