diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh index 965c445f82b2d3e6ecfed0fd52d03e02b6e2df7a..9c39972725fb015c56db420ebc42d87f393fc27e 100755 --- a/ShellB3/shallbethree.sh +++ b/ShellB3/shallbethree.sh @@ -1164,18 +1164,18 @@ _decompress_in_build(){ if [ -z "${SSLCURL}" ] ; then oops "Set variable SSLCURL to an ssl-capable version of curl. You're using experimental elements. you can do this." fi - https_proxy="" http_proxy="" ${SSLCURL} -L "${tarball}" | xzcat - | tar xf - -C build || oops "could not unpack xz-ed ${name} from ${tarball}" + https_proxy="" http_proxy="" ${SSLCURL} -L "${tarball}" | xzcat - | tar xf - --no-same-owner -C build || oops "could not unpack xz-ed ${name} from ${tarball}" else - xzcat "${tarball}" | tar xf - -C build || oops "could not unpack xz-ed ${name} from ${tarball}" + xzcat "${tarball}" | tar xf - --no-same-owner -C build || oops "could not unpack xz-ed ${name} from ${tarball}" fi else if [ "$(echo ${tarball} | cut -c-4)" == "http" ] ; then if [ -z "${SSLCURL}" ] ; then oops "Set variable SSLCURL to an ssl-capable version of curl. You're using experimental elements. you can do this." fi - https_proxy="" http_proxy="" ${SSLCURL} -L "${tarball}" | tar zxf - -C build || oops "could not unpack ${name} from ${tarball}" + https_proxy="" http_proxy="" ${SSLCURL} -L "${tarball}" | tar zxf - --no-same-owner -C build || oops "could not unpack ${name} from ${tarball}" else - tar xf "${tarball}" -C build || oops "could not unpack ${name} from ${tarball}" + tar xf "${tarball}" --no-same-owner -C build || oops "could not unpack ${name} from ${tarball}" fi fi if [ -e build/${buildir} ] ; then @@ -2860,7 +2860,7 @@ mk_atlas() { # FIXME: this does not complete echo unpacking ATLAS... rm -rf build/ATLAS - tar jxf src/optional/atlas${ATLASVER}.tar.bz2 -C build || oops "could not unpack ATLAS" + tar jxf src/optional/atlas${ATLASVER}.tar.bz2 --no-same-owner -C build || oops "could not unpack ATLAS" echo "building ATLAS..." (cd build/ATLAS \ @@ -2877,7 +2877,7 @@ mk_blas() { useSysCheck USE_SYS_BLAS && return 0 # mac has blas isTrue USE_PORTABLE_BLAS && return 0 echo unpacking blas... - tar zxf src/blas-${BLASVER}.tgz -C build || oops "could not unpack blas" + tar zxf src/blas-${BLASVER}.tgz --no-same-owner -C build || oops "could not unpack blas" ${PYTHON} <<EOF import sys, fileinput, os @@ -2901,7 +2901,7 @@ mk_cblas() { useSysCheck USE_SYS_BLAS && return 0 # mac has cblas isTrue USE_PORTABLE_BLAS && return 0 echo unpacking cblas... - tar zxf src/cblas.tgz -C build || oops "could not unpack cblas" + tar zxf src/cblas.tgz --no-same-owner -C build || oops "could not unpack cblas" cp -f build/CBLAS/Makefile.LINUX build/CBLAS/Makefile.in ${PYTHON} <<EOF @@ -2929,7 +2929,7 @@ mk_openblas() { echo unpacking OpenBLAS... rm -rf build/OpenBLAS-${OPENBLASVER} - tar zxf src/OpenBLAS-${OPENBLASVER}.tar.gz -C build || oops "could not unpack OpenBLAS" + tar zxf src/OpenBLAS-${OPENBLASVER}.tar.gz --no-same-owner -C build || oops "could not unpack OpenBLAS" echo "building OpenBLAS..." (cd build/OpenBLAS-${OPENBLASVER} \ @@ -2943,7 +2943,7 @@ mk_lapack() { isTrue USE_PORTABLE_LAPACK && return 0 _find_cots_lib BLAS libblas $BASE $COTS_HOME ${SYSROOT}/usr || oops "lapack requires blas" echo unpacking lapack... - tar zxf src/lapack-${LAPACKVER}.t* -C build || oops "could not unpack lapack" + tar zxf src/lapack-${LAPACKVER}.t* --no-same-owner -C build || oops "could not unpack lapack" cp build/lapack-${LAPACKVER}/INSTALL/make.inc.gfortran build/lapack-${LAPACKVER}/make.inc