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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
Andrew Deason 2011-11-08 12:52:50 -06:00 committed by Derrick Brashear
parent 49cb0d0090
commit 6d519cf123

View File

@ -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"