Also cache tar downloads.
This commit is contained in:
parent
cb78359878
commit
4363c6422a
|
@ -110,7 +110,7 @@ cp -r tar-1.12 tmp/after
|
||||||
mkdir tmp/after/tar-1.12/{src,build}
|
mkdir tmp/after/tar-1.12/{src,build}
|
||||||
pushd tmp/after/tar-1.12/src
|
pushd tmp/after/tar-1.12/src
|
||||||
if [ ! -f "$(basename $url)" ]; then
|
if [ ! -f "$(basename $url)" ]; then
|
||||||
wget "$url"
|
_wget "$url"
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
tar -C tmp/after/tar-1.12/src -xf "tmp/after/tar-1.12/src/$(basename $url)" --strip-components=1
|
tar -C tmp/after/tar-1.12/src -xf "tmp/after/tar-1.12/src/$(basename $url)" --strip-components=1
|
||||||
|
|
Loading…
Reference in New Issue