From 6d519cf1234d54630dcfe48f6ecd393e2dfe71dd Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 8 Nov 2011 12:52:50 -0600 Subject: [PATCH] regen: Fail on failures If something fails, don't ignore the error. Change-Id: I3ae90009f0a0f61f269a05b39e9bfe478ccf256f Reviewed-on: http://gerrit.openafs.org/5817 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- regen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regen.sh b/regen.sh index 055a62d02d..c20c4bbb3a 100755 --- a/regen.sh +++ b/regen.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e while getopts "q" flag do @@ -36,7 +36,7 @@ autoheader #automake echo "Deleting autom4te.cache directory" -rm -r autom4te.cache +rm -rf autom4te.cache if [ $skipman ] ; then echo "Skipping man page build"