[28458] in Source-Commits
installer commit: Generate sha256sum in the correct format
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Oct 1 12:07:55 2014
Date: Wed, 1 Oct 2014 12:07:48 -0400
From: Jonathan D Reed <jdreed@mit.edu>
Message-Id: <201410011607.s91G7mAg016589@drugstore.mit.edu>
To: source-commits@mit.edu
https://github.com/mit-athena/installer/commit/ec7fb3bd24e7b197e4585786efdd1d7f2bc18641
commit ec7fb3bd24e7b197e4585786efdd1d7f2bc18641
Author: Jonathan Reed <jdreed@mit.edu>
Date: Wed Oct 1 09:44:56 2014 -0400
Generate sha256sum in the correct format
Rather than going to the effort of stripping the filename, generate
it in the default format such that it can be checked with
sha256sum -c.
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index ac94c10..370b3a3 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,6 @@ $(SCRIPT).sh: $(SCRIPT).beta.sh confirm
cp -f $< $@
%.sha256sum.txt: %
- sha256sum $* | cut -d\ -f 1 > $@
+ sha256sum $* > $@
.PHONY: default confirm production beta