diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-21 03:47:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-21 03:47:51 +0800 |
commit | 3ea161f672021282246f029ff6b13fe41f975ebf (patch) | |
tree | 5bd24e18a6e93882e93ea24a3b16954d5bbbf5ea /Mk | |
parent | e5cd5625c5c7d9410bb34638bf8699c362ac4cbb (diff) | |
download | freebsd-ports-gnome-3ea161f672021282246f029ff6b13fe41f975ebf.tar.gz freebsd-ports-gnome-3ea161f672021282246f029ff6b13fe41f975ebf.tar.zst freebsd-ports-gnome-3ea161f672021282246f029ff6b13fe41f975ebf.zip |
- Add ${PREFIX}/www to shebang check. We have many shebang problems which need to be discovered and fixed in www category.
Differential Revision: D2580
Approved by: portmgr (bapt)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/qa.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index bf7545d9ebb5..d1c98093f1d9 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -57,7 +57,8 @@ shebang() { # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/sbin \ - ${STAGEDIR}${PREFIX}/libexec -type f -perm +111 2>/dev/null) + ${STAGEDIR}${PREFIX}/libexec ${STAGEDIR}${PREFIX}/www \ + -type f -perm +111 2>/dev/null) EOF # Split stat(1) result into 2 lines and read each line separately to @@ -77,8 +78,8 @@ shebang() { # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/sbin \ - ${STAGEDIR}${PREFIX}/libexec -type l \ - -exec stat -f "%N${LF}%Y" {} + 2>/dev/null) + ${STAGEDIR}${PREFIX}/libexec ${STAGEDIR}${PREFIX}/www \ + -type l -exec stat -f "%N${LF}%Y" {} + 2>/dev/null) EOF return ${rc} |