diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-12-01 12:40:52 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-12-01 12:40:52 +0000 |
commit | 2541962f5b390ffdf2e4e4d84d1b6c4867cf94d1 (patch) | |
tree | fdacf6bb9905a10b63f248ad098d1fa37cad5148 /mk/bulk | |
parent | fcb4e25c3469ac77e167291846b931beae8e9ac1 (diff) | |
download | pkgsrc-2541962f5b390ffdf2e4e4d84d1b6c4867cf94d1.tar.gz |
Catch errors while running printindex
Diffstat (limited to 'mk/bulk')
-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..." |