summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorTyler Davis <tydavis@gmail.com>2023-08-22 12:06:22 -0700
committerTyler Davis <tydavis@gmail.com>2023-08-22 12:06:22 -0700
commit84aa7d3fb352b5fe2f3af850e5b769d987953f9a (patch)
treefac7404bc90101efadbb5f3f64f8662496af84dc /.local
parent10eb22d53d987b90125d634d10be8439a4903ddc (diff)
downloaddotfiles-84aa7d3fb352b5fe2f3af850e5b769d987953f9a.tar.gz
dotfiles-84aa7d3fb352b5fe2f3af850e5b769d987953f9a.zip
bin: allow creating nested folders
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/gitrect-fix2
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