1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Do not report parent directories of LOCALBASE as orphans

Reported and tested by:	gerald
With hat:	portmgr
This commit is contained in:
Antoine Brodin 2014-06-30 22:26:51 +00:00
parent 8bf5e15496
commit 57abe3e15a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359935

View File

@ -157,6 +157,14 @@ parse_mtree() {
fi
unset MTREE_FILE GNOME_MTREE_FILE
# Add LOCALBASE
a=${LOCALBASE}
while :; do
echo ${a}
a=${a%/*}
[ -z "${a}" ] && break
done
# Add in PREFIX if this port wants it
if [ ${NO_PREFIX_RMDIR} -eq 0 ]; then
a=${PREFIX}