Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 16:04:08 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 72a9fbf7cb32 - main - Mk/Scripts: Fix qa for manprefix
Message-ID:  <202404121604.43CG48If055847@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72a9fbf7cb32373cfcf555a74e6f41841cf0f8a1

commit 72a9fbf7cb32373cfcf555a74e6f41841cf0f8a1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-04-12 16:02:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-04-12 16:02:31 +0000

    Mk/Scripts: Fix qa for manprefix
    
    As man pages have been moved PREFIX/share/man adjust the qa check.
    
    Reported by:    eduardo
    Approved by:    portmgr (blanket)
---
 Mk/Scripts/qa.sh | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index c570550dd9f6..935edf72065e 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -1035,12 +1035,9 @@ reinplace()
 }
 
 prefixman() {
-	local manlist
-
-	manlist=$(find ${STAGEDIR}${PREFIX}/man -type f)
-	if [ -n "${manlist}" ]; then
+	if [ -d "${STAGEDIR}${PREFIX}/man" ]; then
 		warn "Installing man files in ${PREFIX}/man is no longer supported. Consider installing these files in ${PREFIX}/share/man instead."
-		ls -liTd ${manlist}
+		ls -liTd ${STAGEDIR}${PREFIX}/man
 	fi
 	return 0
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404121604.43CG48If055847>