diff options
author | hubertf <hubertf> | 2001-12-01 12:40:52 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-12-01 12:40:52 +0000 |
commit | efb7555a124b338959b2ab6b2a7b7d75333ea2af (patch) | |
tree | fdacf6bb9905a10b63f248ad098d1fa37cad5148 /mk | |
parent | b9d015f395f0efba4bfe182a6fd5f376968aa20d (diff) | |
download | pkgsrc-efb7555a124b338959b2ab6b2a7b7d75333ea2af.tar.gz |
Catch errors while running printindex
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bulk/build b/mk/bulk/build index 8947421412a..38903ea0f84 100644 --- a/mk/bulk/build +++ b/mk/bulk/build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: build,v 1.18 2001/11/26 00:55:45 hubertf Exp $ +# $NetBSD: build,v 1.19 2001/12/01 12:40:52 hubertf Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org> @@ -152,7 +152,10 @@ if [ "$1" != "restart" ]; then echo "Generating package name <=> package directory cross reference file (this may take a while)..." sh mk/bulk/printindex $BROKENFILE > $INDEXFILE - + if [ $? != 0 ]; then + echo "ERROR while creating $INDEXFILE" + exit 1 + fi fi echo "Starting actual build using the order specified in $ORDERFILE..." |