diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-21 20:40:16 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-21 20:40:16 +0200 |
commit | ddd150b7d16d289ed0d0ca8dbbcaa335761ad4f2 (patch) | |
tree | 7de243930d1359dca8efc32d317441f677f212ac /links-update | |
parent | debian: 2.0.3-5 (diff) | |
parent | move comments from links-update to README (diff) | |
download | config-links-ddd150b7d16d289ed0d0ca8dbbcaa335761ad4f2.tar.gz config-links-ddd150b7d16d289ed0d0ca8dbbcaa335761ad4f2.zip |
Merge tag 'v2.0.4' into debian
Diffstat (limited to '')
-rwxr-xr-x | links-update | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/links-update b/links-update index 322cd49..c95530d 100755 --- a/links-update +++ b/links-update @@ -5,18 +5,6 @@ # For details, see https://github.com/egor-tensin/config-links. # Distributed under the MIT License. -# This script relies on the availability of native symlinks. -# Those are indeed supported by NTFS, but require Administrator privileges for -# creation. -# It likely won't bother you as long as you don't use the functions defined in -# this file. -# In any case, you will see `ln` complaining about some access being denied in -# case something goes wrong. -# -# Remember that in order to force `ln` to use native NTFS symlinks, your -# `CYGWIN` Windows environment variable value **must** include either -# `winsymlinks:native` or `winsymlinks:nativestrict`! - # usage: ./links-update [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-m|--mode MODE] [-n|--dry-run] set -o errexit -o nounset -o pipefail @@ -25,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 |