Skip to content

Commit 7c84537

Browse files
committed
fix: use physical option for current directory
This is needed for shells where pwd defaults to the logical path resolves #636
1 parent 8bad6ee commit 7c84537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pattern-util.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ podman run -it --rm --pull=newer \
104104
-e K8S_AUTH_PASSWORD \
105105
-e K8S_AUTH_TOKEN \
106106
${PKI_HOST_MOUNT_ARGS} \
107-
-v "$(pwd)":"$(pwd)" \
107+
-v "$(pwd -P)":"$(pwd -P)" \
108108
-v "${HOME}":"${HOME}" \
109109
-v "${HOME}":/pattern-home \
110110
${PODMAN_ARGS} \
111111
${EXTRA_ARGS} \
112-
-w "$(pwd)" \
112+
-w "$(pwd -P)" \
113113
"$PATTERN_UTILITY_CONTAINER" \
114114
$@

0 commit comments

Comments
 (0)