diff options
author | rillig <rillig> | 2006-08-10 17:58:10 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-08-10 17:58:10 +0000 |
commit | 3a88bf34d4ca5034281c30a95688fa5d39aabe87 (patch) | |
tree | 712039dc38e28be53aecca804528041e61afbefd | |
parent | 1a84d2cbb92499e4ff649898ebc41daff4b3e5a7 (diff) | |
download | pkgsrc-3a88bf34d4ca5034281c30a95688fa5d39aabe87.tar.gz |
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
-rw-r--r-- | mk/bulk/upload | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/upload b/mk/bulk/upload index 20c8b19af72..9b588b5527a 100644 --- a/mk/bulk/upload +++ b/mk/bulk/upload @@ -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 @@ install_required() 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 |