aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-06-08 09:26:31 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-06-08 09:26:31 +0000
commitac5e64ba028443fe002303773fe1f51c88abb8e4 (patch)
tree91f099e2c5e9ee1f22c46ab95f1097e5a2530f04 /Mk
parente2bee271c64a1958e696b18199f22369e006cbef (diff)
downloadports-ac5e64ba028443fe002303773fe1f51c88abb8e4.tar.gz
ports-ac5e64ba028443fe002303773fe1f51c88abb8e4.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/qa.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index 7b4c25122839..9067ec7c3af3 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -261,9 +261,10 @@ suidfiles() {
libtool() {
if [ -z "${USESLIBTOOL}" ]; then
find ${STAGEDIR} -name '*.la' | while read f; do
- grep -q 'libtool library' "${f}" &&
- err ".la libraries found, port needs USES=libtool" &&
- return 1 || true
+ if grep -q 'libtool library' "${f}"; then
+ err ".la libraries found, port needs USES=libtool"
+ return 1
+ fi
done
# The return above continues here.
fi