[rt-commit] r11 - /dev/Makefile

rt-commit at redwax.eu rt-commit at redwax.eu
Sun Feb 26 12:16:58 CET 2023


Author: minfrin at redwax.eu
Date: Sun Feb 26 12:16:55 2023
New Revision: 11

Log:
Support shasum on MacOS.

Modified:
    dev/Makefile

Modified: dev/Makefile
==============================================================================
--- dev/Makefile	(original)
+++ dev/Makefile	Sun Feb 26 12:16:55 2023
@@ -31,5 +31,5 @@
 hash: hash-tar.gz hash-tar.bz2
 
 hash-%:
-	find * -name '*.$*' -exec bash -c "(command -v sha256sum > /dev/null && sha256sum --tag {} ) || (command -v gsha256sum > /dev/null && gsha256sum --tag {} ) > {}.sha256" \;
+	find * -name '*.$*' -exec bash -c "(command -v sha256sum > /dev/null && sha256sum --tag {} ) || (command -v gsha256sum > /dev/null && gsha256sum --tag {} ) || (command -v shasum > /dev/null && shasum -a 256 --tag {} ) > {}.sha256" \;
 



More information about the rt-commit mailing list