Skip to content

Commit 05f932b

Browse files
authored
refactor(scripts): remove -P from ln calls (#3740)
1 parent 053fe6f commit 05f932b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

scripts/build_docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ fi
9090
# hardlinked from.
9191
cdroot
9292
temp_dir="$(TMPDIR="$(dirname "$input_file")" mktemp -d)"
93-
ln -P "$input_file" "$temp_dir/coder"
94-
ln -P Dockerfile "$temp_dir/"
93+
ln "$input_file" "$temp_dir/coder"
94+
ln Dockerfile "$temp_dir/"
9595

9696
cd "$temp_dir"
9797

scripts/package.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ fi
6868
# be hardlinked from.
6969
cdroot
7070
temp_dir="$(TMPDIR="$(dirname "$input_file")" mktemp -d)"
71-
ln -P "$input_file" "$temp_dir/coder"
72-
ln -P "$(realpath coder.env)" "$temp_dir/"
73-
ln -P "$(realpath coder.service)" "$temp_dir/"
74-
ln -P "$(realpath preinstall.sh)" "$temp_dir/"
75-
ln -P "$(realpath scripts/nfpm.yaml)" "$temp_dir/"
71+
ln "$input_file" "$temp_dir/coder"
72+
ln "$(realpath coder.env)" "$temp_dir/"
73+
ln "$(realpath coder.service)" "$temp_dir/"
74+
ln "$(realpath preinstall.sh)" "$temp_dir/"
75+
ln "$(realpath scripts/nfpm.yaml)" "$temp_dir/"
7676

7777
cd "$temp_dir"
7878

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy