From 5e12458d152904689c8175512b6ada365db46036 Mon Sep 17 00:00:00 2001 From: Spike Curtis Date: Wed, 17 Aug 2022 09:25:44 -0700 Subject: [PATCH] Fix archive.sh for LICENSE files Signed-off-by: Spike Curtis --- scripts/archive.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/archive.sh b/scripts/archive.sh index c4dff331d3f56..4f75e20c4a74a 100755 --- a/scripts/archive.sh +++ b/scripts/archive.sh @@ -108,11 +108,8 @@ cdroot temp_dir="$(mktemp -d)" ln -s "$input_file" "$temp_dir/$output_file" ln -s "$(realpath README.md)" "$temp_dir/" -if [[ "$agpl" == 1 ]]; then - ln -s "$(realpath LICENSE.agpl)" "$temp_dir/LICENSE" -else - ln -s "$(realpath LICENSE)" "$temp_dir/" - ln -s "$(realpath LICENSE.agpl)" "$temp_dir/" +ln -s "$(realpath LICENSE)" "$temp_dir/" +if [[ "$agpl" == 0 ]]; then ln -s "$(realpath LICENSE.enterprise)" "$temp_dir/" fi