diff options
-rwxr-xr-x | mingw-w64-build | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mingw-w64-build b/mingw-w64-build index d7fad6d..90689c2 100755 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -95,16 +95,10 @@ download_sources() for url in "${urls[@]}"; do local archive="${url##*/}" - local c echo "downloading $archive" >&3 curl -O "$url" || error_exit echo "extracting $archive" >&3 - case "${archive##*.}" in - gz) c=z ;; - bz2) c=j ;; - xz) c=J ;; - esac - tar -x${c}f "$archive" || error_exit + tar -xf "$archive" || error_exit done cd "$src/gcc-$v_gcc" || error_exit @@ -227,7 +221,6 @@ progs=( "curl" "gzip" "bzip2" - "xz" "git" "make" "patch" |