Skip to content

Commit c40621c

Browse files
committed
Refine the script hugo
1 parent 3b0a254 commit c40621c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
SCRIPT_PATH="$(
6-
cd "$(dirname BASH_SOURCE[0])"
6+
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
77
pwd
88
)"
99
declare -r SCRIPT_PATH

0 commit comments

Comments
 (0)