Skip to content

Commit 61c423e

Browse files
committed
fix: correct symlink in destination for create function
1 parent fb49a2f commit 61c423e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ create-impl *args:
2020
source ./tools/ci/general.sh
2121

2222
template="$1"
23-
destination="$(mkdir -p "$2" && cd "$2" && pwd)" # Make absolute.
23+
destination="$(realpath "$2")" # Make absolute (resolve symlinks etc...)
2424
args=("${@:3}")
2525

2626
[[ "$template" =~ generic|rust|go|python ]] ||

0 commit comments

Comments
 (0)