Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c898d0

Browse files
authored
Fix archive.sh for LICENSE files (#3535)
Signed-off-by: Spike Curtis <spike@coder.com>Signed-off-by: Spike Curtis <spike@coder.com>
1 parentc3f9467 commit5c898d0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎scripts/archive.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,8 @@ cdroot
108108
temp_dir="$(mktemp -d)"
109109
ln -s"$input_file""$temp_dir/$output_file"
110110
ln -s"$(realpath README.md)""$temp_dir/"
111-
if [["$agpl"== 1 ]];then
112-
ln -s"$(realpath LICENSE.agpl)""$temp_dir/LICENSE"
113-
else
114-
ln -s"$(realpath LICENSE)""$temp_dir/"
115-
ln -s"$(realpath LICENSE.agpl)""$temp_dir/"
111+
ln -s"$(realpath LICENSE)""$temp_dir/"
112+
if [["$agpl"== 0 ]];then
116113
ln -s"$(realpath LICENSE.enterprise)""$temp_dir/"
117114
fi
118115

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp