aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlinks-chmod2
-rwxr-xr-xlinks-remove2
-rwxr-xr-xlinks-update2
3 files changed, 3 insertions, 3 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
diff --git a/links-remove b/links-remove
index 2efc46d..15a33ef 100755
--- a/links-remove
+++ b/links-remove
@@ -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
diff --git a/links-update b/links-update
index 322cd49..0d0630c 100755
--- a/links-update
+++ b/links-update
@@ -25,7 +25,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