summaryrefslogtreecommitdiff
path: root/Mk/Scripts/qa.sh
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-10-11 02:52:35 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-10-11 02:52:35 +0000
commitcbfe674254ab72511ac952f2c7acb7fa61d0bad9 (patch)
treefd9342e87c30ec5add21aba4a988009401a9024f /Mk/Scripts/qa.sh
parent- Mark BROKEN, set DEPRECATED (diff)
- Fix desktopfileutils() and sharedmimeinfo() returning non-zero and causing
failure on every port that does not use shared-mime-info or need it. Must return 0 at end of functions or it considers the last command ran as the return code. Reported by: eadler With hat: portmgr
Notes
Notes: svn path=/head/; revision=330052
Diffstat (limited to 'Mk/Scripts/qa.sh')
-rw-r--r--Mk/Scripts/qa.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index a8faa6e6213b..75ff3915b7cd 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -79,6 +79,7 @@ desktopfileutils() {
grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null ||
warn "you may not need USES=desktop-file-utils"
fi
+ return 0
}
sharedmimeinfo() {
@@ -89,6 +90,7 @@ sharedmimeinfo() {
find ${STAGEDIR}${PREFIX}/share/mime/packages/*.xml ! -name "freedesktop\.org\.xml" -quit 2>/dev/null ||
warn "you may not need USES=shared-mime-info"
fi
+ return 0
}
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo"