regen: Fail on failures

If something fails, don't ignore the error.

Reviewed-on: http://gerrit.openafs.org/5817
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 6d519cf123)

Change-Id: I5e5ac4d843b9dafce7b7f3acadfcdb0901aed214
Reviewed-on: http://gerrit.openafs.org/6082
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 f718feb826
commit d173bead98

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"