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 new crate license symlink (#34922)

Umesh Yadavf3c332d839a2
diff --git a/crates/onboarding/LICENSE-GPL b/crates/onboarding/LICENSE-GPL
index dd648cce4f6..89e542f750c 120000
--- a/crates/onboarding/LICENSE-GPL
+++ b/crates/onboarding/LICENSE-GPL
@@ -1 +1 @@
-../../../LICENSE-GPL
\ No newline at end of file
+../../LICENSE-GPL
\ No newline at end of file
diff --git a/script/new-crate b/script/new-crate
index df574981e73..52ee900b308 100755
--- a/script/new-crate
+++ b/script/new-crate
@@ -39,7 +39,7 @@ CRATE_PATH="crates/$CRATE_NAME"
mkdir -p "$CRATE_PATH/src"
# Symlink the license
-ln -sf "../../../$LICENSE_FILE" "$CRATE_PATH/$LICENSE_FILE"
+ln -sf "../../$LICENSE_FILE" "$CRATE_PATH/$LICENSE_FILE"
CARGO_TOML_TEMPLATE=$(cat << 'EOF'
[package]