Skip to content

Commit 035dfe5

Browse files
committed
[DEBUG] Replace curl with wget
1 parent 52c7016 commit 035dfe5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

build-scripts/CI/CIBB_32b

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ if [ ! -d "glibc-$GLIBC_VERSION" ]; then
192192
# apply critical patch if Glibc 2.31 and GCC 10 series are being built
193193
if [[ "$GCC_VERSION" =~ ^10.* ]] && [ "$GLIBC_VERSION" = "2.31" ]; then
194194
echo "Applying patch!"
195-
curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
196-
mv Makefile.patch math/Makefile
195+
wget -O Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
196+
mv Makefile.patch "$DOWNLOADDIR"/glibc-$GLIBC_VERSION/math/Makefile
197197
fi
198198
cd "$DOWNLOADDIR" || exit
199199
rm ./*.tar.*

build-scripts/CI/CIBB_64b

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ if [ ! -d "glibc-$GLIBC_VERSION" ]; then
173173
# apply critical patch if Glibc 2.31 and GCC 10 series are being built
174174
if [[ "$GCC_VERSION" =~ ^10.* ]] && [ "$GLIBC_VERSION" = "2.31" ]; then
175175
echo "Applying patch!"
176-
curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
177-
mv Makefile.patch math/Makefile
176+
wget -O Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
177+
mv Makefile.patch "$DOWNLOADDIR"/glibc-$GLIBC_VERSION/math/Makefile
178178
fi
179179
cd "$DOWNLOADDIR" || exit
180180
rm ./*.tar.*

build-scripts/RTBuilder_32b

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ if [ ! -d "glibc-$GLIBC_VERSION" ]; then
200200
# apply critical patch if Glibc 2.31 and GCC 10 series are being built
201201
if [[ "$GCCBASE_VERSION" =~ ^10.* ]] && [ "$GLIBC_VERSION" = "2.31" ]; then
202202
echo "Applying patch!"
203-
curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
204-
mv Makefile.patch math/Makefile
203+
wget -O Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
204+
mv Makefile.patch "$DOWNLOADDIR"/glibc-$GLIBC_VERSION/math/Makefile
205205
fi
206206
cd "$DOWNLOADDIR" || exit
207207
rm ./*.tar.*

build-scripts/RTBuilder_64b

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ if [ ! -d "glibc-$GLIBC_VERSION" ]; then
185185
# apply critical patch if Glibc 2.31 and GCC 10 series are being built
186186
if [[ "$GCCBASE_VERSION" =~ ^10.* ]] && [ "$GLIBC_VERSION" = "2.31" ]; then
187187
echo "Applying patch!"
188-
curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
189-
mv Makefile.patch math/Makefile
188+
wget -O Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
189+
mv Makefile.patch "$DOWNLOADDIR"/glibc-$GLIBC_VERSION/math/Makefile
190190
fi
191191
cd "$DOWNLOADDIR" || exit
192192
rm ./*.tar.*

0 commit comments

Comments
 (0)