mirror of https://github.com/coder/coder.git
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:
parent
c3f946737c
commit
5c898d0c83
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue