Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix log file path for dsymutil in bundle-mac

Max Brunsfeldb22718e64354
diff --git a/script/bundle-mac b/script/bundle-mac
index 0b3f71505a5..d327a9b1d60 100755
--- a/script/bundle-mac
+++ b/script/bundle-mac
@@ -189,9 +189,9 @@ function prepare_binaries() {
local app_path=$2
echo "Unpacking dSYMs for $architecture"
- if ! dsymutil --flat target/${architecture}/${target_dir}/Zed 2> ${target_dir}/dsymutil.log; then
- echo "dsymmutil failed"
- cat ${target_dir}/dsymutil.log
+ if ! dsymutil --flat target/${architecture}/${target_dir}/Zed 2> target/dsymutil.log; then
+ echo "dsymutil failed"
+ cat target/dsymutil.log
exit 1
fi
version="$(cargo metadata --no-deps --manifest-path crates/zed/Cargo.toml --offline --format-version=1 | jq -r '.packages | map(select(.name == "zed"))[0].version')"