[Box Backup-commit] COMMIT r1866 - box/trunk

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Tue, 09 Oct 2007 00:25:36 +0100


Author: chris
Date: 2007-10-09 00:25:36 +0100 (Tue, 09 Oct 2007)
New Revision: 1866

Modified:
   box/trunk/configure.ac
Log:
Die if infrastructure/makebuildenv.pl or infrastructure/makeparcels.pl fails
during configure.


Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac	2007-10-08 23:24:43 UTC (rev 1865)
+++ box/trunk/configure.ac	2007-10-08 23:25:36 UTC (rev 1866)
@@ -281,8 +281,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