2 Revize 05fe9906e4 ... 27188b00b1

Autor SHA1 Zpráva Datum
  Ralph Giles 27188b00b1 Update checksum for Akkadian.zip 7.18. před 5 roky
  Ralph Giles 0800fb6c67 Fix font checksum verification. před 5 roky
1 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 7 7
      Makefile

+ 7 - 7
Makefile

@@ -19,16 +19,16 @@ deploy: $(SRCS)
 	surge _deploy/
 
 Akkadian.ttf: Akkadian.zip
+	@SHA2=$$(shasum -a 256 $< | cut -f 1 -d ' '); \
+	if test "$${SHA2}" != $(Akkadian_zip_SHA2); then \
+	  echo "Checksum mismatch for $<!"; exit 1; fi
 	unzip $< $@
 	# bump the date so we don't run this rule every time.
 	touch $@
 
-Akkadian_zip_SHA2 := fd00741c13e0e822a97a6451b1fe406fcdab09f9e4bd77fe6a3eede3d8f5ea61
+Akkadian_zip_SHA2 := a3ad5b8aa93ac10d2b57b0ac4655f26ce1e7b070a1dd61d9093bd11dac0ab1ba
 Akkadian.zip:
 	curl -sO http://users.teilar.gr/~g1951d/Akkadian.zip
-	SHA2=$(shasum -a 256 $@ | cut -f 1 -d ' ')
-	@if test ${SHA2} != $(Akkadian_zip_SHA2); then \
-	  echo "Checksum mismatch for $@!;" exit 1; fi
 
 NotoSansCuneiform-Regular.ttf: NotoSansCuneiform-unhinted.zip
 	unzip $< $@
@@ -38,6 +38,6 @@ NotoSansCuneiform-Regular.ttf: NotoSansCuneiform-unhinted.zip
 NotoSansCuneiform_zip_SHA2 := 6eb7b77387c298c8cff328d0d0084d35e5e264352a382e7b3aefb7061beedec0
 NotoSansCuneiform-unhinted.zip:
 	curl -sO https://noto-website.storage.googleapis.com/pkgs/NotoSansCuneiform-unhinted.zip
-	SHA2=$(shasum -a 256 $@ | cut -f 1 -d ' ')
-	@if test ${SHA2} != $(NotoSansCuneiform_zip_SHA2); then \
-	  echo "Checksum mismatch for $@!;" exit 1; fi
+	@SHA2=$$(shasum -a 256 $@ | cut -f 1 -d ' '); \
+	if test $${SHA2} != $(NotoSansCuneiform_zip_SHA2); then \
+	  echo "Checksum mismatch for $@!"; exit 1; fi