Fix install linux (#43205)
Closes: #42726 Release Notes: - Fix ./script/install-linux for installing a development version of Zed on Linux
This commit is contained in:
@@ -15,12 +15,8 @@ export ZED_CHANNEL=$(<crates/zed/RELEASE_CHANNEL)
|
||||
export ZED_UPDATE_EXPLANATION="You need to fetch and rebuild zed in $(pwd)"
|
||||
script/bundle-linux
|
||||
|
||||
target="linux-$(uname -m)"
|
||||
arch="$(uname -m)"
|
||||
commit=$(git rev-parse HEAD | cut -c 1-7)
|
||||
if [[ "$ZED_CHANNEL" == "dev" ]]; then
|
||||
archive="zed-${commit}-${target}.tar.gz"
|
||||
else
|
||||
archive="zed-${target}.tar.gz"
|
||||
fi
|
||||
archive="zed-linux-${arch}.tar.gz"
|
||||
export ZED_BUNDLE_PATH="${CARGO_TARGET_DIR:-target}/release/${archive}"
|
||||
script/install.sh
|
||||
|
||||
Reference in New Issue
Block a user