Skip to content

Commit 99128f0

Browse files
authored
Merge pull request #1056 from rundel/main
Fix typo #203
2 parents 25a6885 + b1152f7 commit 99128f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/scripts/common/quarto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SOURCE="${BASH_SOURCE[0]}"
55
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
66
SCRIPT_PATH="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
77
SOURCE="$(readlink "$SOURCE")"
8-
[[ $SOURCE != /* ]] && SOURCE="$SCRIPT_DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
8+
[[ $SOURCE != /* ]] && SOURCE="$SCRIPT_PATH/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
99
done
1010
export SCRIPT_PATH="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
1111

0 commit comments

Comments
 (0)