From: Cameron Katri Date: Sun, 23 May 2021 19:47:25 +0000 (-0400) Subject: download.sh: Fix tar extract X-Git-Url: https://git.cameronkatri.com/apple_cmds.git/commitdiff_plain/b1aebad53a572fe5b97eb322866f8d84f24ae50e?ds=sidebyside download.sh: Fix tar extract --- diff --git a/download.sh b/download.sh index 59bc81b..3145687 100755 --- a/download.sh +++ b/download.sh @@ -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