diff options
Diffstat (limited to 'links-chmod')
-rwxr-xr-x | links-chmod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/links-chmod b/links-chmod index c0cf71e..889a316 100755 --- a/links-chmod +++ b/links-chmod @@ -13,7 +13,7 @@ shopt -s lastpipe script_name="$( basename -- "${BASH_SOURCE[0]}" )" readonly script_name -script_path="$( realpath --canonicalize-existing -- "${BASH_SOURCE[0]}" )" +script_path="$( readlink --canonicalize-existing -- "${BASH_SOURCE[0]}" )" readonly script_path script_dir="$( dirname -- "$script_path" )" readonly script_dir |