Skip to content

Commit 5c898d0

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 parent c3f9467 commit 5c898d0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/archive.sh

+2-5
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)