mirror of https://github.com/coder/coder.git
refactor(scripts): remove -P from ln calls (#3740)
This commit is contained in:
parent
053fe6ff61
commit
05f932b37e
|
@ -90,8 +90,8 @@ fi
|
|||
# hardlinked from.
|
||||
cdroot
|
||||
temp_dir="$(TMPDIR="$(dirname "$input_file")" mktemp -d)"
|
||||
ln -P "$input_file" "$temp_dir/coder"
|
||||
ln -P Dockerfile "$temp_dir/"
|
||||
ln "$input_file" "$temp_dir/coder"
|
||||
ln Dockerfile "$temp_dir/"
|
||||
|
||||
cd "$temp_dir"
|
||||
|
||||
|
|
|
@ -68,11 +68,11 @@ fi
|
|||
# be hardlinked from.
|
||||
cdroot
|
||||
temp_dir="$(TMPDIR="$(dirname "$input_file")" mktemp -d)"
|
||||
ln -P "$input_file" "$temp_dir/coder"
|
||||
ln -P "$(realpath coder.env)" "$temp_dir/"
|
||||
ln -P "$(realpath coder.service)" "$temp_dir/"
|
||||
ln -P "$(realpath preinstall.sh)" "$temp_dir/"
|
||||
ln -P "$(realpath scripts/nfpm.yaml)" "$temp_dir/"
|
||||
ln "$input_file" "$temp_dir/coder"
|
||||
ln "$(realpath coder.env)" "$temp_dir/"
|
||||
ln "$(realpath coder.service)" "$temp_dir/"
|
||||
ln "$(realpath preinstall.sh)" "$temp_dir/"
|
||||
ln "$(realpath scripts/nfpm.yaml)" "$temp_dir/"
|
||||
|
||||
cd "$temp_dir"
|
||||
|
||||
|
|
Loading…
Reference in New Issue