From 5e2cc53c82b9a108eee6c7851a44e2eea77e7b74 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 7 Mar 2007 23:32:49 +0000 Subject: A hint to the real problem is a nice addition to an error message. --- mk/bulk/build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mk/bulk') 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 @@ -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}" -- cgit v1.2.3