about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-08-28 08:44:22 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-08-28 08:44:22 +0200
commit2b018278f102de40cab7751fed20ccd6bb90993a (patch)
tree3792a2f493a0d8e1d6ad4b86104d68d1f66fe70a
parent53caa45a89ca96a0f58e662776de692dff0aff2c (diff)
downloadgal-2b018278f102de40cab7751fed20ccd6bb90993a.tar.gz
gal-2b018278f102de40cab7751fed20ccd6bb90993a.zip
undo: reverse sort HEAD master
-rwxr-xr-xgal2
1 files changed, 1 insertions, 1 deletions
diff --git a/gal b/gal
index 83ea478..840a907 100755
--- a/gal
+++ b/gal
@@ -49,7 +49,7 @@ EOF
 [ -f $OUTPUT/photo_list ] && echo "Replacing existing photo_list" && rm $OUTPUT/photo_list
 
 for ext in $EXTENSIONS; do
-  for f in `find $PHOTOS -name "*.$ext"`; do
+  for f in `find $PHOTOS -name "*.$ext" | sort -n`; do
     filename=$(basename $f)
 
     ## Add to index.html