From 2eb461c16e1a5df2bfca18458ea4d32f1c631899 Mon Sep 17 00:00:00 2001 From: Sean Hickey Date: Sun, 29 Aug 2021 16:04:55 -0700 Subject: [PATCH] I don't care about symlinks to symlinks --- localinstall.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/localinstall.sh b/localinstall.sh index 8e91376..524cf66 100755 --- a/localinstall.sh +++ b/localinstall.sh @@ -9,9 +9,8 @@ file=$1 install_dir="${HOME}/.local/bin" -filepath=$(readlink "$file") filename=$(basename "$file") mkdir -p $install_dir -ln -sf "$filepath" "${install_dir}/${filename}" +ln -sf "$file" "${install_dir}/${filename}"