summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-21 20:34:52 +0000
committertv <tv@pkgsrc.org>2004-04-21 20:34:52 +0000
commit4c2aaec50980e0a3876df4169ae2026f9f8deec5 (patch)
treefa647df4c1c6e6726b14e09ced5fc04b223781df /bootstrap
parent8d32f69f7a175e9518b380e969ab1eec904c2b20 (diff)
downloadpkgsrc-4c2aaec50980e0a3876df4169ae2026f9f8deec5.tar.gz
A usable tar(1) may have come from bootstrap. Wedge $prefix/bin into $PATH
so that it's picked up.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/mkbinarykit3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/mkbinarykit b/bootstrap/mkbinarykit
index ae467f4a078..fdac760ddd7 100755
--- a/bootstrap/mkbinarykit
+++ b/bootstrap/mkbinarykit
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: mkbinarykit,v 1.6 2004/04/05 01:34:17 cjep Exp $
+# $NetBSD: mkbinarykit,v 1.7 2004/04/21 20:34:52 tv Exp $
#
# Make a binary bootstrap kit and place it in targetdir (or current
# working directory if not specified). The mk.conf.example file is
@@ -120,6 +120,7 @@ strip "$prefix/"bin/*
strip "$prefix/"sbin/*
echo "Making binary kit."
+PATH="$prefix/bin:$PATH"; export PATH # in case tar was built by bootstrap
cp ${wrkdir}/mk.conf.example $mkfile && \
cd / && \
tar -hcf "$targetdir/bootstrap-pkgsrc-$opsys-$osrev-$ospro-$date.tar" \