svn commit: r351480 - head/Mk/Scripts
Bryan Drewery
bdrewery at FreeBSD.org
Thu Apr 17 14:45:49 UTC 2014
Author: bdrewery
Date: Thu Apr 17 14:45:49 2014
New Revision: 351480
URL: http://svnweb.freebsd.org/changeset/ports/351480
QAT: https://qat.redports.org/buildarchive/r351480/
Log:
- Fix HOMEDIR handling to not exclude all directories for ports without USERS
Reported by: antoine
With hat: portmgr
Modified:
head/Mk/Scripts/check_leftovers.sh
Modified: head/Mk/Scripts/check_leftovers.sh
==============================================================================
--- head/Mk/Scripts/check_leftovers.sh Thu Apr 17 14:42:44 2014 (r351479)
+++ head/Mk/Scripts/check_leftovers.sh Thu Apr 17 14:45:49 2014 (r351480)
@@ -40,7 +40,7 @@ if [ -n "${LOCALBASE}" ]; then
else
LOCALBASE=$(make -C ${portdir} -VLOCALBASE)
fi
-homedirs=$(awk -F: -v users=$(make -C ${portdir} -V USERS|sed -e 's, ,|,g;/^$/d') '$1 ~ users {print $9}' ${PORTSDIR}/UIDs|sort -u|sed -e "s|/usr/local|${PREFIX}|")
+homedirs=$(awk -F: -v users=$(make -C ${portdir} -V USERS|sed -e 's, ,|,g;/^$/d') 'users && $1 ~ users {print $9}' ${PORTSDIR}/UIDs|sort -u|sed -e "s|/usr/local|${PREFIX}|")
plistsub_sed=$(make -C ${portdir} -VPLIST_SUB_SED)
tmpplist=$(make -C ${portdir} -VTMPPLIST)
More information about the svn-ports-all
mailing list