diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-05-20 19:47:51 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-05-20 19:47:51 +0000 |
commit | d4848777d3303df34826b0bc7a47df50e298de2c (patch) | |
tree | 5bd24e18a6e93882e93ea24a3b16954d5bbbf5ea /Mk/Scripts/qa.sh | |
parent | Document CVE-2015-3306 proftpd mod_copy unauthenticated copying of files (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=386884
Diffstat (limited to 'Mk/Scripts/qa.sh')
-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} |