diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-17 19:50:39 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-17 19:50:39 +0200 |
commit | 86f66672c7fe554814e1463697b822a453eb04ff (patch) | |
tree | 8ede6754ba4ad21d643874eb2c46c4bfebae881d | |
parent | e87e368e39b77775065478825582e0265d0487f9 (diff) |
case-insensitive sorting
-rwxr-xr-x | bin/gen-xhtml-thumbnails | 2 |
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; |