diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-04-24 20:00:27 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-04-24 20:00:27 +0800 |
commit | 44ad24d2f1de98fea34591c533d9653a4babeac2 (patch) | |
tree | fedd4e7c02019d195f31f81b6ef8649f3a1d84e0 /Mk | |
parent | 1d79e07612825961c0cc85ad5472ac8813232097 (diff) | |
download | freebsd-ports-gnome-44ad24d2f1de98fea34591c533d9653a4babeac2.tar.gz freebsd-ports-gnome-44ad24d2f1de98fea34591c533d9653a4babeac2.tar.zst freebsd-ports-gnome-44ad24d2f1de98fea34591c533d9653a4babeac2.zip |
check-plist: Don't error if GNOME_MTREE_FILE is missing, which can happen
in nox11 ports that USE_GNOME.
With hat: portmgr
Reported by: swills
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index 70d80f430aa4..dad53986c0f1 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -183,7 +183,7 @@ fi fi listmtree "${PORTSDIR}/Templates/BSD.local.dist" "${LOCALBASE}" - if [ -n "${GNOME_MTREE_FILE}" ]; then + if [ -n "${GNOME_MTREE_FILE}" ] && [ -f "${GNOME_MTREE_FILE}" ]; then listmtree "${GNOME_MTREE_FILE}" "${PREFIX}" fi unset MTREE_FILE GNOME_MTREE_FILE |