- do not tolerate errors
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 29 Mar 2006 20:26:41 +0000 (20:26 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 29 Mar 2006 20:26:41 +0000 (20:26 +0000)
build.sh

index 80b3400..179e9d9 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -5,7 +5,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2004-2006 The Trustees of Princeton University
 #
-# $Id: build.sh,v 1.5 2006/03/29 17:08:45 mlhuang Exp $
+# $Id: build.sh,v 1.6 2006/03/29 19:19:55 mlhuang Exp $
 #
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -80,6 +80,9 @@ while getopts "r:a:h" opt ; do
     esac
 done
 
+# Do not tolerate errors
+set -e
+
 # Make /vservers
 vroot=$PWD/vservers/vserver-reference
 install -d -m 755 $vroot