diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-06-30 22:26:51 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-06-30 22:26:51 +0000 |
commit | 57abe3e15af76f86da546bb59723eec0e21d8206 (patch) | |
tree | 00bbf2424991947b1d90de110cf18cc72063bb68 /Mk | |
parent | 8bf5e15496398c8d2b2c39f7d69b56f0393118bd (diff) |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index dffab77e4179..a435e69aecce 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -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} |