pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/pbulk



Module Name:    pkgsrc
Committed By:   sevan
Date:           Fri Aug 11 19:20:20 UTC 2017

Modified Files:
        pkgsrc/mk/pbulk: pbulk.sh

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mk/pbulk/pbulk.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/pbulk/pbulk.sh
diff -u pkgsrc/mk/pbulk/pbulk.sh:1.4 pkgsrc/mk/pbulk/pbulk.sh:1.5
--- pkgsrc/mk/pbulk/pbulk.sh:1.4        Tue Jul 25 22:45:21 2017
+++ pkgsrc/mk/pbulk/pbulk.sh    Fri Aug 11 19:20:20 2017
@@ -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



Home | Main Index | Thread Index | Old Index