regen: Fail on failures

If something fails, don't ignore the error.

Change-Id: Ia679cf8541adce573fa3ee16ae8fafec0cfae790
Reviewed-on: http://gerrit.openafs.org/5817
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry-picked from 6d519cf123)
Reviewed-on: http://gerrit.openafs.org/5983
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
Andrew Deason 2011-11-08 12:52:50 -06:00 committed by Jeffrey Altman
parent 0e65a06262
commit 7b35b1f29d

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"