foundry
Foundry OS: the operating system built on the Rustbelt kernel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/usr/bin/env bash
# Download the musl release tarball into the download cache (default cache/)
# and check it against the SHA256 pinned in musl.sha256. Nothing downloaded
# is ever committed: cache/ is git-ignored.
#
# Offline? Put the tarball in cache/ yourself (any copy with the right
# SHA256 is fine), or set MUSL_TARBALL=/path/to/musl-1.2.5.tar.gz.
#
# Usage: toolchain/musl/fetch.sh [CACHE_DIR]
HERE=
CACHE=
url=
dest=/
if [ && [; then ; fi
if [; then
&&
fi
if | ; then
else
;
fi
|