mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Fix archive.sh for LICENSE files (#3535)
Signed-off-by: Spike Curtis <spike@coder.com> Signed-off-by: Spike Curtis <spike@coder.com>
This commit is contained in:
+2
-5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user