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
commitedf551f68ed1f9aa79001220e7b4302dbee2c831 (patch)
treefa647df4c1c6e6726b14e09ced5fc04b223781df /bootstrap
parent9e605c409e70715b68be8a25d855273596b1d8c3 (diff)
downloadpkgsrc-edf551f68ed1f9aa79001220e7b4302dbee2c831.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" \