Author: dsahlberg
Date: Mon Jan  8 21:00:04 2024
New Revision: 1915144

URL: http://svn.apache.org/viewvc?rev=1915144&view=rev
Log:
In tools/dev/unix-build:

FreeBSD seems to have the sha*sum tools in /sbin. Check for the tools there.

* Makefile.svn
  (do_check_sha256): Add code to check in /sbin

Modified:
    subversion/trunk/tools/dev/unix-build/Makefile.svn

Modified: subversion/trunk/tools/dev/unix-build/Makefile.svn
URL: 
http://svn.apache.org/viewvc/subversion/trunk/tools/dev/unix-build/Makefile.svn?rev=1915144&r1=1915143&r2=1915144&view=diff
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn (original)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn Mon Jan  8 21:00:04 2024
@@ -169,6 +169,9 @@ if [ -x /bin/sha256 ]; then \
 elif [ -x /usr/bin/sha256sum ]; then \
        (cd $(DISTDIR) && \
                echo "${SHA256_${1}} ${1}" | /usr/bin/sha256sum --quiet 
--check); \
+elif [ -x /sbin/sha256sum ]; then \
+       (cd $(DISTDIR) && \
+               echo "${SHA256_${1}} ${1}" | /sbin/sha256sum --quiet --check 
/dev/stdin); \
 elif [ -x /usr/bin/shasum ]; then \
         echo "${SHA256_${1}}  ${1}"; \
         (cd $(DISTDIR) && \


Reply via email to