File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ # Exit on error:
4
+ set -e
5
+
3
6
GCC_VERSION=$1
4
7
5
8
if [ $GCC_VERSION = " 14.1.0" ]; then
27
30
CHECK_SHA_CMD=" sha256sum -c"
28
31
fi
29
32
30
- let FOUND=0
33
+ FOUND=0
31
34
32
35
# Try from each mirror until we successfully download a .zip file.
33
36
for MIRROR in ${MIRRORS[@]} ; do
@@ -39,7 +42,7 @@ for MIRROR in ${MIRRORS[@]}; do
39
42
if [ $? -ne 0 ]; then
40
43
echo " WARNING: Fetching libc++ from mirror $MIRROR failed!" >&2
41
44
else
42
- let FOUND=1
45
+ FOUND=1
43
46
break
44
47
fi
45
48
done
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ # Exit on error:
4
+ set -e
5
+
3
6
NEWLIB_VERSION=$1
4
7
5
8
if [ $NEWLIB_VERSION = " 4.4.0.20231231" ]; then
25
28
CHECK_SHA_CMD=" sha256sum -c"
26
29
fi
27
30
28
- let FOUND=0
31
+ FOUND=0
29
32
30
33
# Try from each mirror until we successfully download a .zip file.
31
34
for MIRROR in ${MIRRORS[@]} ; do
@@ -37,7 +40,7 @@ for MIRROR in ${MIRRORS[@]}; do
37
40
if [ $? -ne 0 ]; then
38
41
echo " WARNING: Fetching newlib from mirror $MIRROR failed!" >&2
39
42
else
40
- let FOUND=1
43
+ FOUND=1
41
44
break
42
45
fi
43
46
done
You can’t perform that action at this time.
0 commit comments