From 53aa364c6762b7eaf122cdeeeb9580ec77adb9c2 Mon Sep 17 00:00:00 2001 From: majekw Date: Wed, 21 Jun 2017 21:09:19 +0200 Subject: [PATCH] Don't use --ignore-missing in md5sum because it's too new for Travis --- scripts/travis-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh index 21101a5..5eb6c21 100755 --- a/scripts/travis-build.sh +++ b/scripts/travis-build.sh @@ -53,7 +53,7 @@ function download_and_unpack() # try to check md5sum, but Arduino provide only checksums for version 1.6 and greater wget $WGET_FLAGS https://downloads.arduino.cc/arduino-$1.md5sum.txt if [ $? -eq -0 ]; then - md5sum --ignore-missing -c arduino-$1.md5sum.txt + cat arduino-$1.md5sum.txt|grep "linux64"|md5sum -c if [ $? -ne 0 ]; then echo "ERROR: md5sum for downloaded Arduino doesn't match" exit 1