summaryrefslogtreecommitdiff
path: root/mk/bulk/upload
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bulk/upload')
-rw-r--r--mk/bulk/upload4
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