]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
download.sh: Fix
authorCameron Katri <me@cameronkatri.com>
Thu, 20 May 2021 20:18:23 +0000 (16:18 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 20 May 2021 20:18:23 +0000 (16:18 -0400)
download.sh

index 54b86a83a7febee09e1023010524e308513a0de0..38c7d48b18ae7dead64c356b96bb09d38fd15e17 100755 (executable)
@@ -9,6 +9,6 @@ else
        echo "${1} - $(cat ${1}/.apple_version) -> ${version}"
        TEMP=$(mktemp -d)
        wget -q -P${TEMP} https://opensource.apple.com/tarballs/${1}/${1}-${version}.tar.gz
-       tar xf ${TEMP}/${1}-${2}.tar.gz -C ${1} --strip-components=1
+       tar xf ${TEMP}/${1}-${version}.tar.gz -C ${1} --strip-components=1
        echo "${version}" > ${1}/.apple_version
 fi