diff options
-rwxr-xr-x | bootstrap/bootstrap | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index a75c920c99f..b43d50d1828 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.146 2009/05/29 15:58:37 rillig Exp $ +# $NetBSD: bootstrap,v 1.147 2009/06/15 17:02:14 joerg Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -341,6 +341,11 @@ if [ "$dash_echo_test" = "@" ]; then exit 1; fi +if [ -n "$PKG_PATH" ]; then + echo "ERROR: Please unset PKG_PATH before running bootstrap." 1>&2 + exit 1; +fi + build_start=`date` echo_msg "bootstrap command: $0 $@" echo_msg "bootstrap started: $build_start" |