Remove now unused md5sum.sh script
This commit is contained in:
parent
3d2bc2a188
commit
267831b04d
1
Makefile
1
Makefile
@ -245,7 +245,6 @@ clean: FORCE
|
||||
rm -f $(gluon_prepared_stamp)
|
||||
|
||||
|
||||
export MD5SUM := $(GLUONDIR)/scripts/md5sum.sh
|
||||
export SHA512SUM := $(GLUONDIR)/scripts/sha512sum.sh
|
||||
|
||||
|
||||
|
@ -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 }'
|
Loading…
Reference in New Issue
Block a user