]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
download.sh: Fix tar extract
authorCameron Katri <me@cameronkatri.com>
Sun, 23 May 2021 19:47:25 +0000 (15:47 -0400)
committerCameron Katri <me@cameronkatri.com>
Sun, 23 May 2021 19:47:25 +0000 (15:47 -0400)
download.sh

index 59bc81b01d0369b92735712c8b71c2c0ba5c396c..3145687f1500754268670879a0196ccd649c72e0 100755 (executable)
@@ -10,7 +10,7 @@ else
        wget -q https://opensource.apple.com/tarballs/${1}/${1}-${version}.tar.gz
        rm -rf ${1}
        mkdir ${1}
-       tar xf ${TEMP}/${1}-${version}.tar.gz -C ${1} --strip-components=1
+       tar xf ${1}-${version}.tar.gz -C ${1} --strip-components=1
        echo "${version}" > ${1}/.apple_version
        rm ${1}-${version}.tar.gz
 fi