pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap A usable tar(1) may have come from bootstrap...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25be830090f8
branches:  trunk
changeset: 473613:25be830090f8
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Apr 21 20:34:52 2004 +0000

description:
A usable tar(1) may have come from bootstrap.  Wedge $prefix/bin into $PATH
so that it's picked up.

diffstat:

 bootstrap/mkbinarykit |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 99b552d91def -r 25be830090f8 bootstrap/mkbinarykit
--- a/bootstrap/mkbinarykit     Wed Apr 21 20:34:16 2004 +0000
+++ b/bootstrap/mkbinarykit     Wed Apr 21 20:34:52 2004 +0000
@@ -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/"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"  \



Home | Main Index | Thread Index | Old Index