pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/pbulk pbulk is able to handle the creation All dire...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc306d5b8244
branches:  trunk
changeset: 366330:cc306d5b8244
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Fri Aug 11 19:20:20 2017 +0000

description:
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

diffstat:

 mk/pbulk/pbulk.sh |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r a17ce62ab5b6 -r cc306d5b8244 mk/pbulk/pbulk.sh
--- a/mk/pbulk/pbulk.sh Fri Aug 11 16:41:23 2017 +0000
+++ b/mk/pbulk/pbulk.sh Fri Aug 11 19:20:20 2017 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index