diff options
author | Tyler Davis <tydavis@gmail.com> | 2023-08-22 12:06:22 -0700 |
---|---|---|
committer | Tyler Davis <tydavis@gmail.com> | 2023-08-22 12:06:22 -0700 |
commit | 84aa7d3fb352b5fe2f3af850e5b769d987953f9a (patch) | |
tree | fac7404bc90101efadbb5f3f64f8662496af84dc /.local | |
parent | 10eb22d53d987b90125d634d10be8439a4903ddc (diff) | |
download | dotfiles-84aa7d3fb352b5fe2f3af850e5b769d987953f9a.tar.gz dotfiles-84aa7d3fb352b5fe2f3af850e5b769d987953f9a.zip |
bin: allow creating nested folders
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/gitrect-fix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/gitrect-fix b/.local/bin/gitrect-fix index b74016a..9a90647 100755 --- a/.local/bin/gitrect-fix +++ b/.local/bin/gitrect-fix @@ -104,7 +104,7 @@ while read -r line; do if [ ! -d "${WORKDIR}${FS_SEPARATOR}${dir}" ]; then #clone repo clone=$((clone + 1)) # Set true - mkdir "${WORKDIR}${FS_SEPARATOR}${dir}" + mkdir -p "${WORKDIR}${FS_SEPARATOR}${dir}" fi cd "${WORKDIR}${FS_SEPARATOR}${dir}" || exit if [ $clone -gt 0 ]; then |