Fix missing slash
This commit is contained in:
parent
ca56b27b9e
commit
3532384224
|
@ -7,7 +7,7 @@ clone_dir() {
|
||||||
local dir=${1:-home}
|
local dir=${1:-home}
|
||||||
local to=${2:-$HOME}
|
local to=${2:-$HOME}
|
||||||
|
|
||||||
mkdir -p "$to/.${dir#home}"
|
mkdir -p "$to/.${dir#home/}"
|
||||||
for f in $dir/*; do
|
for f in $dir/*; do
|
||||||
if [ -d "$f" ]; then
|
if [ -d "$f" ]; then
|
||||||
clone_dir "$f" "$to"
|
clone_dir "$f" "$to"
|
||||||
|
|
Loading…
Reference in New Issue