Skip to content

Commit 4d1de44

Browse files
authored
wget to curl
1 parent 4f671e8 commit 4d1de44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-ffmpeg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ download() {
6969

7070
if [ ! -f "$DOWNLOAD_PATH/$DOWNLOAD_FILE" ]; then
7171
echo "Downloading $1 as $DOWNLOAD_FILE"
72-
curl -L --silent -o "$DOWNLOAD_PATH/$DOWNLOAD_FILE" "$1"
72+
^"$DOWNLOAD_PATH/$DOWNLOAD_FILE" "$1"
7373

7474
EXITCODE=$?
7575
if [ $EXITCODE -ne 0 ]; then
@@ -582,7 +582,7 @@ if $NONFREE_AND_GPL; then
582582
download "https://github.com/georgmartius/vid.stab/archive/v1.1.0.tar.gz" "vid.stab-1.1.0.tar.gz"
583583

584584
if $MACOS_M1; then
585-
curl -s -o "$PACKAGES/vid.stab-1.1.0/fix_cmake_quoting.patch" https://raw.githubusercontent.com/Homebrew/formula-patches/5bf1a0e0cfe666ee410305cece9c9c755641bfdf/libvidstab/fix_cmake_quoting.patch
585+
curl -L --silent -o "$PACKAGES/vid.stab-1.1.0/fix_cmake_quoting.patch" "https://raw.githubusercontent.com/Homebrew/formula-patches/5bf1a0e0cfe666ee410305cece9c9c755641bfdf/libvidstab/fix_cmake_quoting.patch"
586586
patch -p1 <fix_cmake_quoting.patch
587587
fi
588588

@@ -745,7 +745,7 @@ if build "libtheora" "1.1.1"; then
745745
mv configure.patched configure
746746
##BEGIN CONFIG.GUESS PATCH -- Updating config.guess file. Which allowed me to compile on aarch64 (ARMv8) [linux kernel 4.9 Ubuntu 20.04]
747747
rm config.guess
748-
wget --quiet -O config.guess - https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
748+
curl -L --silent -o "config.guess" "https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess"
749749
chmod +x config.guess
750750
##END OF CONFIG.GUESS PATCH
751751
execute ./configure --prefix="${WORKSPACE}" --with-ogg-libraries="${WORKSPACE}"/lib --with-ogg-includes="${WORKSPACE}"/include/ --with-vorbis-libraries="${WORKSPACE}"/lib --with-vorbis-includes="${WORKSPACE}"/include/ --enable-static --disable-shared --disable-oggtest --disable-vorbistest --disable-examples --disable-asm --disable-spec

0 commit comments

Comments
 (0)