From 3532384224210de334172d8f0e21c7afb75062f3 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Sun, 22 Aug 2021 18:52:03 -0300 Subject: [PATCH] Fix missing slash --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5988ba7..8d4bdf3 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ clone_dir() { local dir=${1:-home} local to=${2:-$HOME} - mkdir -p "$to/.${dir#home}" + mkdir -p "$to/.${dir#home/}" for f in $dir/*; do if [ -d "$f" ]; then clone_dir "$f" "$to"