Skip to content

Commit 9b82361

Browse files
authored
Fix install linux (#43205)
Closes: #42726 Release Notes: - Fix ./script/install-linux for installing a development version of Zed on Linux
1 parent 3c69e5c commit 9b82361

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

script/install-linux

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ export ZED_CHANNEL=$(<crates/zed/RELEASE_CHANNEL)
1515
export ZED_UPDATE_EXPLANATION="You need to fetch and rebuild zed in $(pwd)"
1616
script/bundle-linux
1717

18-
target="linux-$(uname -m)"
18+
arch="$(uname -m)"
1919
commit=$(git rev-parse HEAD | cut -c 1-7)
20-
if [[ "$ZED_CHANNEL" == "dev" ]]; then
21-
archive="zed-${commit}-${target}.tar.gz"
22-
else
23-
archive="zed-${target}.tar.gz"
24-
fi
20+
archive="zed-linux-${arch}.tar.gz"
2521
export ZED_BUNDLE_PATH="${CARGO_TARGET_DIR:-target}/release/${archive}"
2622
script/install.sh

0 commit comments

Comments
 (0)