diff options
author | Nils <git@velohero.com> | 2016-11-06 22:54:51 +0100 |
---|---|---|
committer | Nils <git@velohero.com> | 2016-11-06 22:54:51 +0100 |
commit | 335ebb661238481a69c530165ef343a8322db445 (patch) | |
tree | 3a7f0e569878d04a78b158bb4c25d7d79b6e9b4a /gallery.sh | |
parent | 1f36fa7cc405e7e2af6946fe935b193694f6dca5 (diff) |
one more maxdepth
Diffstat (limited to 'gallery.sh')
-rwxr-xr-x | gallery.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ cat > "$htmlfile" << EOF EOF ### Photos (JPG) -if [[ $(find . -type f -name \*.jpg | wc -l) -gt 0 ]]; then +if [[ $(find . -type f -name \*.jpg -maxdepth 1 | wc -l) -gt 0 ]]; then echo '<div class="row">' >> "$htmlfile" ## Generate Images |