summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-xhtml-thumbnails2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-xhtml-thumbnails b/bin/gen-xhtml-thumbnails
index ab5c43c..3391de7 100755
--- a/bin/gen-xhtml-thumbnails
+++ b/bin/gen-xhtml-thumbnails
@@ -81,7 +81,7 @@ closedir($dirhandle);
print "Generating thumbnails [ - cached | + generated ]\n";
-foreach my $file (sort(@files)) {
+foreach my $file (sort { lc($a) cmp lc($b) } @files) {
my $image = Image::Imlib2->load($file);
my $thumb;