shorten buildid
authorJoey Hess <joeyh@joeyh.name>
Tue, 6 Oct 2020 15:23:55 +0000 (11:23 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 6 Oct 2020 15:23:55 +0000 (11:23 -0400)
No need to end it with " git-annex"

Makefile

index d7ede6b4a968815aec64997356b6f9cdcedff7db..a3801abf1904752ea5e400f8ded1271b58787a4b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ linuxstandalone:
        cp doc/logo_16x16.png doc/logo.svg $(LINUXSTANDALONE_DEST)
        cp standalone/trustedkeys.gpg $(LINUXSTANDALONE_DEST)
 
-       md5sum git-annex > "$(LINUXSTANDALONE_DEST)/buildid"
+       md5sum git-annex | cut -d ' ' -f 1 > "$(LINUXSTANDALONE_DEST)/buildid"
        cd tmp/git-annex.linux && find . -type f > git-annex.MANIFEST
        cd tmp/git-annex.linux && find . -type l >> git-annex.MANIFEST
        cd tmp && tar c git-annex.linux | gzip -9 --rsyncable > git-annex-standalone-$(shell dpkg --print-architecture).tar.gz