From 65fddf693915cbfecaccd76b83f1e9b56094ac95 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Thu, 17 Apr 2014 14:45:49 +0000 Subject: - Fix HOMEDIR handling to not exclude all directories for ports without USERS Reported by: antoine With hat: portmgr --- Mk/Scripts/check_leftovers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mk') diff --git a/Mk/Scripts/check_leftovers.sh b/Mk/Scripts/check_leftovers.sh index f5cedfe6b9f..a85ac5d13dd 100644 --- a/Mk/Scripts/check_leftovers.sh +++ b/Mk/Scripts/check_leftovers.sh @@ -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) -- cgit