Commit Diff


commit - 176179b2a9e99af595892c396a219c2bc11fb6c9
commit + 99c91b4a51fea49255b5e6989278f6b9990d0a5c
blob - 02b8eb211eb3c2d1e7d2f072d17e8b98173bacf1 (mode 755)
blob + /dev/null
--- regress/sha
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-# USAGE: ./sha in out
-# writes the sha256 of in to file out
-
-if which sha256 2>/dev/null >/dev/null; then
-	exec sha256 < "$1" > "$2"
-fi
-
-if which sha256sum 2>/dev/null >/dev/null; then
-	sha256sum "$1" | awk '{print $1}' > "$2"
-	exit $?
-fi
-
-echo "No sha binary found"
-exit 1