Reduce the need to read the shell script to figure out what's going on (#14077)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2024-07-10 12:08:54 -06:00
committed by GitHub
parent 4434353f73
commit be5b7b2e70
+4
View File
@@ -1,6 +1,10 @@
#!/usr/bin/env sh
set -eu
# Downloads the latest tarball from https://zed.dev/releases and unpacks it
# into ~/.local/. If you'd prefer to do this manually, instructions are at
# https://zed.dev/docs/linux.
main() {
platform="$(uname -s)"
arch="$(uname -m)"