pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Catch errors from pre-build, and abort if it's...
details: https://anonhg.NetBSD.org/pkgsrc/rev/619be6793408
branches: trunk
changeset: 463604:619be6793408
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Thu Nov 20 00:04:12 2003 +0000
description:
Catch errors from pre-build, and abort if it's not 0.
diffstat:
mk/bulk/build | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 1fbf5f31b8e1 -r 619be6793408 mk/bulk/build
--- a/mk/bulk/build Thu Nov 20 00:02:59 2003 +0000
+++ b/mk/bulk/build Thu Nov 20 00:04:12 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.28 2003/05/06 17:42:03 jmmv Exp $
+# $NetBSD: build,v 1.29 2003/11/20 00:04:12 hubertf Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%netbsd.org@localhost>
@@ -93,6 +93,11 @@
echo Restarting - skipping pre-build script
else
sh mk/bulk/pre-build # make veryveryclean :)
+ if [ $? != 0 ]
+ then
+ echo "Error during bulk-build preparations, aborting."
+ exit 1
+ fi
fi
fail=no
Home |
Main Index |
Thread Index |
Old Index