diff options
Diffstat (limited to '')
-rwxr-xr-x | common/scripts/latex/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scripts/latex/build.sh b/common/scripts/latex/build.sh index 80ecc57..3cc579a 100755 --- a/common/scripts/latex/build.sh +++ b/common/scripts/latex/build.sh @@ -23,7 +23,7 @@ for arg in "$@"; do done # find all directories which are not the destination dir or inside it -find "$root" -type d -not -name "$dst" -not -path "./$dst/*" -printf '%P\n' | while IFS= read -r dir; do +fd . "$root" --type directory --exclude "$dst" --exclude "./$dst/*" --hidden --exec realpath --relative-to=. {} | while IFS= read -r dir; do mkdir --parents "$dst/$dir" done |