Fixed checksum verification logic after 061f7705c952.
diff --git a/contrib/Makefile b/contrib/Makefile
index 27addce..8466893 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -87,9 +87,8 @@
 checksum = \
 	$(foreach f,$(filter $(TARBALLS)/%,$^), \
 		grep -- " $(f:$(TARBALLS)/%=%)$$" \
-			"$(SRC)/$(patsubst $(3)%,%,$@)/$(2)SUMS" &&) \
-	(cd $(TARBALLS) && $(1) /dev/stdin) < \
-		"$(SRC)/$(patsubst $(3)%,%,$@)/$(2)SUMS"
+			"$(SRC)/$(patsubst $(3)%,%,$@)/$(2)SUMS" |) \
+		(cd $(TARBALLS) && $(1))
 CHECK_SHA512 = $(call checksum,$(SHA512SUM),SHA512,.sum-)
 UNPACK = $(RM) -R $@ \
 	$(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xvzfo $(f)) \