aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-remove
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-21 17:46:48 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-21 17:46:51 +0000
commita274973ff3ec0a1ab5ecde5a63b1bb33996fecb4 (patch)
treee3ec3a8dade0749662e79a0c30050c6446563753 /links-remove
parentt/i: call links-update twice, just in case (diff)
downloadconfig-links-a274973ff3ec0a1ab5ecde5a63b1bb33996fecb4.tar.gz
config-links-a274973ff3ec0a1ab5ecde5a63b1bb33996fecb4.zip
realpath -> readlink
I have an exteremely retarded work machine which bundles its own realpath for no reason. A quick fix is to use readlink instead.
Diffstat (limited to 'links-remove')
-rwxr-xr-xlinks-remove2
1 files changed, 1 insertions, 1 deletions
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