From 3420dfd766728d5d05435ed85719e1d83fd8272c Mon Sep 17 00:00:00 2001 From: Jason Self Date: Mon, 16 Jan 2023 07:08:18 -0800 Subject: [PATCH] The binutils.tar.lz exists now so the temporary change can be removed --- setup-toolchain.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup-toolchain.sh b/setup-toolchain.sh index 922a43e..b9db21f 100755 --- a/setup-toolchain.sh +++ b/setup-toolchain.sh @@ -66,10 +66,10 @@ setup_keyring download_source () { # This handles the actual downloading the of the source code from # the GNU FTP mirrors along with invoking GPG for verification. - if [ ! -f "binutils-$binutils_version.tar.bz2" ]; then - wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.bz2 - wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.bz2.sig - gpg --no-default-keyring --keyring ./gnu-keyring.gpg --verify binutils-$binutils_version.tar.bz2.sig + if [ ! -f "binutils-$binutils_version.tar.lz" ]; then + wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.lz + wget http://ftpmirror.gnu.org/gnu/binutils/binutils-$binutils_version.tar.lz.sig + gpg --no-default-keyring --keyring ./gnu-keyring.gpg --verify binutils-$binutils_version.tar.lz.sig fi if [ ! -f "gcc-$gcc_version.tar.xz" ]; then wget http://ftpmirror.gnu.org/gnu/gcc/gcc-$gcc_version/gcc-$gcc_version.tar.xz @@ -98,7 +98,7 @@ setup_source () { # function extracts the tarballs and places things into the # appropriate locations as needed. if [ ! -d "binutils-$binutils_version" ]; then - tar xf binutils-$binutils_version.tar.bz2 + tar xf binutils-$binutils_version.tar.lz fi if [ ! -d "gcc-$gcc_version" ]; then tar xf gcc-$gcc_version.tar.xz -- 2.31.1