File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ function fetch_and_unpack() {
45
45
# Note: There must be two space characters for `shasum` (sha256sum doesn't care)
46
46
wget -O $ZIP_FILE " $URL " && check_sha256 " $GCC_SHA " " $ZIP_FILE "
47
47
if [ $? -ne 0 ]; then
48
+ if test -f $ZIP_FILE ; then
49
+ file $ZIP_FILE
50
+ ls -l $ZIP_FILE
51
+ shasum -a 256 $ZIP_FILE
52
+ fi
48
53
echo " WARNING: Fetching libc++ from mirror $MIRROR failed!" >&2
49
54
else
50
55
FOUND=1
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ function fetch_and_unpack() {
43
43
# Note: There must be two space characters for `shasum` (sha256sum doesn't care)
44
44
wget -O $ZIP_FILE " $URL " && check_sha256 " $NEWLIB_SHA " " $ZIP_FILE "
45
45
if [ $? -ne 0 ]; then
46
+ if test -f $ZIP_FILE ; then
47
+ file $ZIP_FILE
48
+ ls -l $ZIP_FILE
49
+ shasum -a 256 $ZIP_FILE
50
+ fi
46
51
echo " WARNING: Fetching newlib from mirror $MIRROR failed!" >&2
47
52
else
48
53
FOUND=1
You can’t perform that action at this time.
0 commit comments