summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-08-04 09:42:53 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-08-04 09:42:53 +0200
commit05b73434c3f9d709d7ac7b620f7e849dbe0decb6 (patch)
tree84cc7f1f8cbf0d1f75815327b52f1cf1d20f7512
parentf872ca47b0b1d72d5780058f98534774f07b89d0 (diff)
downloadgenerate_gallery-05b73434c3f9d709d7ac7b620f7e849dbe0decb6.tar.gz
generate_gallery-05b73434c3f9d709d7ac7b620f7e849dbe0decb6.tar.xz
make less verbose without option
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xgenerate_gallery.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_gallery.pl b/generate_gallery.pl
index 0d3996c..4fcdc60 100755
--- a/generate_gallery.pl
+++ b/generate_gallery.pl
@@ -52,7 +52,7 @@ for my $dir (@ARGV) {
}
unless ( -e "$abs_dir/thumbs/$file") {
- print "processing $dir/$file ...\n";
+ print "processing $dir/$file ...\n" if $opts{verbose};
my $img = new Image::Magick;
$img->Read("$abs_dir/$file");
$img->Thumbnail(geometry=>$opts{thumbnailsize}."x".$opts{thumbnailsize});