diff options
Diffstat (limited to '')
-rwxr-xr-x | build/latex/academia/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/latex/academia/build.sh b/build/latex/academia/build.sh index 80ecc57..3cc579a 100755 --- a/build/latex/academia/build.sh +++ b/build/latex/academia/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 |