commit | 4b8ab92ebbf58712edb963430cb73aae51717648 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Mon Oct 24 12:42:43 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Mon Oct 24 12:42:43 2011 -0700 |
tree | 04ad570e7209c27224e29282b827a736ad422707 | |
parent | 1369c05f9b7958e140b447542ab28041f450330a [diff] [blame] |
errexit for build_kvm.sh
diff --git a/tools/build_kvm.sh b/tools/build_kvm.sh index 23ce493..cc7d121 100755 --- a/tools/build_kvm.sh +++ b/tools/build_kvm.sh
@@ -1,5 +1,8 @@ #!/usr/bin/env bash +# exit on error to stop unexpected errors +set -o errexit + # Make sure that we have the proper version of ubuntu UBUNTU_VERSION=`cat /etc/lsb-release | grep CODENAME | sed 's/.*=//g'` if [ ! "oneiric" = "$UBUNTU_VERSION" ]; then