mirror of
https://github.com/Optiboot/optiboot.git
synced 2025-07-29 20:21:11 +03:00
Don't use --ignore-missing in md5sum because it's too new for Travis
This commit is contained in:
@ -53,7 +53,7 @@ function download_and_unpack()
|
|||||||
# try to check md5sum, but Arduino provide only checksums for version 1.6 and greater
|
# 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
|
wget $WGET_FLAGS https://downloads.arduino.cc/arduino-$1.md5sum.txt
|
||||||
if [ $? -eq -0 ]; then
|
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
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: md5sum for downloaded Arduino doesn't match"
|
echo "ERROR: md5sum for downloaded Arduino doesn't match"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user