From 2ca10b643467e1c5bcb5c1d987b2b540cf6e463e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 7 Sep 2009 15:46:31 +0200 Subject: Sort files --- include/gen-xhtml-thumbnails | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/gen-xhtml-thumbnails b/include/gen-xhtml-thumbnails index ee8087a..220e4fc 100755 --- a/include/gen-xhtml-thumbnails +++ b/include/gen-xhtml-thumbnails @@ -27,7 +27,7 @@ sub print_progress { $| = 1; open(my $index, '>', $indexfile); -print $index < @@ -37,7 +37,7 @@ print $index <
-ficken +EOD if (! -d $thumbdir) { mkdir($thumbdir) or die("cannot create $thumbdir: $!"); @@ -51,10 +51,10 @@ closedir($dirhandle); print "Generating thumbnails [ - cached | + generated ]\n"; -foreach $file (@files) { -print $index < -ficken +EOD print_progress; $number++; @@ -76,10 +76,10 @@ ficken } print "\n"; -print $index < -ficken +EOD close($index); chmod(0644, $indexfile); -- cgit v1.2.3