diff options
author | sevan <sevan@pkgsrc.org> | 2017-08-11 19:20:20 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2017-08-11 19:20:20 +0000 |
commit | 18472436f0998c090b044df238ca3111eab32a22 (patch) | |
tree | 21dd5d393e4e5f89987e183055a879aba02b2eb6 | |
parent | 7843807083c79407394d82ab74902fa47a0ab47f (diff) | |
download | pkgsrc-18472436f0998c090b044df238ca3111eab32a22.tar.gz |
pbulk is able to handle the creation All directory itself[1].
changing the permission of ${PACKAGES} at the end of the script prevents that
from working.
Undo the change in r1.4 to create the All directory during setup & instead do
not change permissions.
Tested on OS X Tiger & FreeBSD.
Heads up by joerg
[1] http://mail-index.netbsd.org/pkgsrc-changes/2017/08/01/msg160826.html
-rw-r--r-- | mk/pbulk/pbulk.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/pbulk/pbulk.sh b/mk/pbulk/pbulk.sh index 29d13702d6e..2b62feb08a8 100644 --- a/mk/pbulk/pbulk.sh +++ b/mk/pbulk/pbulk.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: pbulk.sh,v 1.4 2017/07/25 22:45:21 sevan Exp $ +# $Id: pbulk.sh,v 1.5 2017/08/11 19:20:20 sevan Exp $ set -e usage="usage: ${0##*/} [-lun] [-c mk.conf.fragment] [-d nodes]" @@ -194,10 +194,7 @@ fi # Keep "packages" in pbulk.conf and "PACKAGES" in mk.conf fragment in sync. # Final preparations: -mkdir -p ${PACKAGES}/All -if [ ! -n "$unprivileged" ]; then -chown pbulk:"$(id -gn pbulk)" ${PACKAGES} -fi +mkdir -p ${PACKAGES} # Let's start: #PACKAGES=${PACKAGES} WRKOBJDIR=${TMPDIR} ${PBULKPREFIX}/bin/bulkbuild |