mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix scripts/download-zig.sh (#7364)
* fix: scripts/download-zig.sh file is not gzipped * fix: scripts/download-zig.sh Linux x86_64 arch var
This commit is contained in:
@@ -29,7 +29,7 @@ case $(uname -ms) in
|
||||
;;
|
||||
'Linux x86_64')
|
||||
target='linux'
|
||||
arch='aarch64'
|
||||
arch='x86_64'
|
||||
;;
|
||||
*)
|
||||
printf "error: cannot get platform name from '%s'\n" "${unamestr}"
|
||||
@@ -79,7 +79,7 @@ fi
|
||||
|
||||
rm -rf "${extract_at}"
|
||||
mkdir -p "${extract_at}"
|
||||
tar -xzf "${dest}" -C "${extract_at}" --strip-components=1
|
||||
tar -xf "${dest}" -C "${extract_at}" --strip-components=1
|
||||
|
||||
echo "${url}" > "${extract_at}/.version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user