From a274973ff3ec0a1ab5ecde5a63b1bb33996fecb4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 21 May 2023 17:46:48 +0000 Subject: 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. --- links-chmod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'links-chmod') 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 -- cgit v1.2.3