From 57f4acf73f3082f8aa993af9de7826f2f15c444b Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Fri, 20 Aug 2021 14:44:27 -0300 Subject: [PATCH] Fix leftover trash --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index e567c4a..42aa86c 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,6 @@ set -e cd "$(dirname "$0")" PWD="$(pwd)" -#dir to clone_dir() { local dir=${1:-home} local to=${2:-$HOME} @@ -13,7 +12,7 @@ clone_dir() { if [ -d "$f" ]; then clone_dir "$f" "$to" elif [ -f "$f" ]; then - ln -sf '$PWD/$f' -> '$to/.${f#home/}' + ln -sf '$PWD/$f' '$to/.${f#home/}' fi done }