Fix new crate license symlink (#34922)
The license file is not properly linked to actual license. This was casued due to new-crate script linking the license to wrong file. Fixed both of them. Reference logs: ``` 2025-07-22T17:16:19+05:30 ERROR [worktree] error reading target of symlink "/Users/umesh/code/zed/crates/onboarding/LICENSE-GPL": canonicalizing ``` Release Notes: - N/A
This commit is contained in:
parent
446d333515
commit
f3c332d839
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
../../../LICENSE-GPL
|
||||
../../LICENSE-GPL
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue