[Box Backup-commit] COMMIT r1983 - box/chris/general

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Dec 9 01:36:12 GMT 2007


Author: chris
Date: 2007-12-09 01:36:12 +0000 (Sun, 09 Dec 2007)
New Revision: 1983

Modified:
   box/chris/general/configure.ac
Log:
Die if infrastructure/makebuildenv.pl or infrastructure/makeparcels.pl fails
during configure. (merges [1866])


Modified: box/chris/general/configure.ac
===================================================================
--- box/chris/general/configure.ac	2007-12-09 01:35:36 UTC (rev 1982)
+++ box/chris/general/configure.ac	2007-12-09 01:36:12 UTC (rev 1983)
@@ -296,8 +296,11 @@
 
 # Configure the Box build system
 echo
-$PERL ./infrastructure/makebuildenv.pl &&
-  $PERL ./infrastructure/makeparcels.pl
+if ! $PERL ./infrastructure/makebuildenv.pl \
+|| ! $PERL ./infrastructure/makeparcels.pl; then
+	echo "Making infrastructure failed!"
+	exit 1
+fi
 
 # Write summary of important info
 cat <<EOC




More information about the Boxbackup-commit mailing list