From: Mark Huang <mlhuang@cs.princeton.edu>
Date: Wed, 29 Mar 2006 20:26:41 +0000 (+0000)
Subject: - do not tolerate errors
X-Git-Tag: myplc-0_4-rc1~22
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e4b8ca672ec6f70f7f89d6f6723d34cca0f7d3e2;p=sliceimage.git

- do not tolerate errors
---

diff --git a/build.sh b/build.sh
index 80b3400..179e9d9 100755
--- 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