summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-07 23:32:49 +0000
committerrillig <rillig@pkgsrc.org>2007-03-07 23:32:49 +0000
commit5e2cc53c82b9a108eee6c7851a44e2eea77e7b74 (patch)
tree5285da76a5575a1d44bb2d77f46741fb87cbff37 /mk/bulk
parentf25aeae6f16e1101d70b6f8dfb958df36da0a18e (diff)
downloadpkgsrc-5e2cc53c82b9a108eee6c7851a44e2eea77e7b74.tar.gz
A hint to the real problem is a nice addition to an error message.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/build6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index 297fc8cf91c..7a26a797294 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.100 2007/02/23 03:43:53 rillig Exp $
+# $NetBSD: build,v 1.101 2007/03/07 23:32:49 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -272,7 +272,9 @@ load_vars () {
$values
EOF
echo "------------------------------------------"
- [ "$PKGBASE" = "pkglint" ] || die "Error reading the variables."
+ [ "$PKGBASE" = "pkglint" ] \
+ || die "Error reading the variables." \
+ "Try running $0 with another shell."
# Get the location of commonly used files
main_buildlog="${BULKFILESDIR}/${BUILDLOG}"