Remove now unused md5sum.sh script

This commit is contained in:
Matthias Schiffer 2015-03-19 19:08:41 +01:00
parent 3d2bc2a188
commit 267831b04d
2 changed files with 0 additions and 19 deletions

View File

@ -245,7 +245,6 @@ clean: FORCE
rm -f $(gluon_prepared_stamp) rm -f $(gluon_prepared_stamp)
export MD5SUM := $(GLUONDIR)/scripts/md5sum.sh
export SHA512SUM := $(GLUONDIR)/scripts/sha512sum.sh export SHA512SUM := $(GLUONDIR)/scripts/sha512sum.sh

View File

@ -1,18 +0,0 @@
#!/bin/sh
check_command() {
which $1 >/dev/null 2>&1
}
if check_command md5sum; then
ret="$(md5sum "$@")"
elif check_command md5; then
ret="$(md5 -q "$@")"
else
echo "$0: no suitable md5sum implementation was found" >&1
exit 1
fi
[ "$?" -eq 0 ] || exit 1
echo "$ret" | awk '{ print $1 }'