From e1c1f5bfd9d10843594e84f4028f6bd875ecc07a Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Tue, 9 Oct 2012 18:51:33 +0200 Subject: [PATCH] Replaced tar with bsdtar to ensure disponibility of -o, which is needed during builds as root --- external/gpl3/binutils/fetch.sh | 2 +- external/gpl3/gcc/fetch.sh | 2 +- external/lgpl2/mpc/fetch.sh | 2 +- external/lgpl3/gmp/fetch.sh | 2 +- external/lgpl3/mpfr/fetch.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/external/gpl3/binutils/fetch.sh b/external/gpl3/binutils/fetch.sh index 20c230950..28871c2aa 100644 --- a/external/gpl3/binutils/fetch.sh +++ b/external/gpl3/binutils/fetch.sh @@ -23,7 +23,7 @@ then fi fi - tar -xf binutils-2.17a.tar.bz2 && \ + bsdtar -oxf binutils-2.17a.tar.bz2 && \ mv binutils-2.17 dist && \ cd dist && \ cat ../../../../tools/binutils/patches/* | patch -p0 diff --git a/external/gpl3/gcc/fetch.sh b/external/gpl3/gcc/fetch.sh index 91fd3aadb..e0fd30add 100755 --- a/external/gpl3/gcc/fetch.sh +++ b/external/gpl3/gcc/fetch.sh @@ -24,7 +24,7 @@ then fi fi - tar -xf gcc-4.4.3.tar.bz2 && \ + bsdtar -oxf gcc-4.4.3.tar.bz2 && \ mv gcc-4.4.3 dist && \ cd dist && \ cat ../../../../tools/gcc/patches/* | patch -p0 && \ diff --git a/external/lgpl2/mpc/fetch.sh b/external/lgpl2/mpc/fetch.sh index 3d51e0a8a..1410fc558 100755 --- a/external/lgpl2/mpc/fetch.sh +++ b/external/lgpl2/mpc/fetch.sh @@ -23,7 +23,7 @@ then fi fi - tar -xf mpc-0.9.tar.gz + bsdtar -oxf mpc-0.9.tar.gz mv mpc-0.9 dist fi diff --git a/external/lgpl3/gmp/fetch.sh b/external/lgpl3/gmp/fetch.sh index ae50122e3..f3f6df41c 100755 --- a/external/lgpl3/gmp/fetch.sh +++ b/external/lgpl3/gmp/fetch.sh @@ -23,7 +23,7 @@ then fi fi - tar -xf gmp-5.0.2.tar.bz2 + bsdtar -oxf gmp-5.0.2.tar.bz2 mv gmp-5.0.2 dist fi diff --git a/external/lgpl3/mpfr/fetch.sh b/external/lgpl3/mpfr/fetch.sh index b134bf155..80d79b422 100755 --- a/external/lgpl3/mpfr/fetch.sh +++ b/external/lgpl3/mpfr/fetch.sh @@ -23,7 +23,7 @@ then fi fi - tar -xf mpfr-3.1.0.tar.bz2 + bsdtar -oxf mpfr-3.1.0.tar.bz2 mv mpfr-3.1.0 dist fi -- 2.44.0