summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap/bootstrap6
-rwxr-xr-xbootstrap/ufsdiskimage3
2 files changed, 7 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 90fa74df0f8..e28be83b257 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.15 2004/04/23 02:03:18 tv Exp $
+# $NetBSD: bootstrap,v 1.16 2004/04/24 19:17:09 danw Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -184,6 +184,10 @@ build_start=`date`
echo_msg "bootstrap command: $0 $@"
echo_msg "bootstrap started: $build_start"
+if [ "x${PRESERVE_PATH}" != "xyes" ]; then
+ PATH="${PATH}:/sbin:/usr/sbin"
+fi
+
overpath=""
root_user=root
case "$opsys" in
diff --git a/bootstrap/ufsdiskimage b/bootstrap/ufsdiskimage
index e0c750ad00b..331ee945b96 100755
--- a/bootstrap/ufsdiskimage
+++ b/bootstrap/ufsdiskimage
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ufsdiskimage,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $
+# $NetBSD: ufsdiskimage,v 1.2 2004/04/24 19:17:09 danw Exp $
_getdevice_and_halfway_mount()
{
@@ -102,5 +102,6 @@ main()
esac
}
+PATH=${PATH}:/sbin:/usr/sbin
main "$@"
exit $?