[rt-commit] r29 - /dev/Makefile

rt-commit at redwax.eu rt-commit at redwax.eu
Sat Nov 2 12:31:13 CET 2024


Author: minfrin at redwax.eu
Date: Sat Nov  2 12:31:10 2024
New Revision: 29

Log:
Add brackets for hash to be generated on all options.

Modified:
    dev/Makefile

Modified: dev/Makefile
==============================================================================
--- dev/Makefile	(original)
+++ dev/Makefile	Sat Nov  2 12:31:10 2024
@@ -37,5 +37,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 {} ) || (command -v shasum > /dev/null && shasum -a 256 --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