pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk When installing packages, first "cd $USR_PKGSR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d46bece1710d
branches:  trunk
changeset: 517441:d46bece1710d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 10 17:58:10 2006 +0000

description:
When installing packages, first "cd $USR_PKGSRC" to be independent of
the current working directory.

See http://mail-index.netbsd.org/tech-pkg/2006/08/08/0006.html

diffstat:

 mk/bulk/upload |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r c6bf92cbf327 -r d46bece1710d mk/bulk/upload
--- a/mk/bulk/upload    Thu Aug 10 17:44:11 2006 +0000
+++ b/mk/bulk/upload    Thu Aug 10 17:58:10 2006 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: upload,v 1.33 2006/08/01 13:16:41 rillig Exp $
+# $NetBSD: upload,v 1.34 2006/08/10 17:58:10 rillig Exp $
 
 #
 # Upload non-restricted binary pkgs to ftp server
@@ -118,7 +118,7 @@
        if [ "${verbose}" = "yes" ]; then
                echo "upload> Installing ${pkg}"
        fi
-       ( cd "$pkg" && ${BMAKE} bulk-install) \
+       (cd "$USR_PKGSRC" && cd "$pkg" && ${BMAKE} bulk-install) \
        || {
                echo "upload> ERROR: Unable to install required package $pkg!" 1>&2
                echo "        Bailing out -- you're on your own." 1>&2



Home | Main Index | Thread Index | Old Index