From 267831b04dd6168c3f4afbca286507ff4aaef737 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Thu, 19 Mar 2015 19:08:41 +0100
Subject: [PATCH] Remove now unused md5sum.sh script

---
 Makefile          |  1 -
 scripts/md5sum.sh | 18 ------------------
 2 files changed, 19 deletions(-)
 delete mode 100755 scripts/md5sum.sh

diff --git a/Makefile b/Makefile
index f341f36cf..09be32c5b 100644
--- a/Makefile
+++ b/Makefile
@@ -245,7 +245,6 @@ clean: FORCE
 	rm -f $(gluon_prepared_stamp)
 
 
-export MD5SUM := $(GLUONDIR)/scripts/md5sum.sh
 export SHA512SUM := $(GLUONDIR)/scripts/sha512sum.sh
 
 
diff --git a/scripts/md5sum.sh b/scripts/md5sum.sh
deleted file mode 100755
index 616005836..000000000
--- a/scripts/md5sum.sh
+++ /dev/null
@@ -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 }'
-- 
GitLab