From 38d47c1c848a49d37a8111e6a435020ffd604076 Mon Sep 17 00:00:00 2001 From: Gunter Labes Date: Wed, 5 Dec 2007 16:49:11 +0000 Subject: [PATCH] check the right place for images to be colorized bump the version --- data/tools/unit_tree/units.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/tools/unit_tree/units.pl b/data/tools/unit_tree/units.pl index 0687bc26b33..f6c3768dd85 100755 --- a/data/tools/unit_tree/units.pl +++ b/data/tools/unit_tree/units.pl @@ -36,7 +36,7 @@ my $images = 1; # This option will determine if the html report on made animations is generated my $animations = 1; # This is the version number that will appear on the unit trees -my $version = '1.3.11+svn'; +my $version = '1.3.12+svn'; # These option will try to process the user made Eras my $ime = 0; # Imperial Era my $exe = 0; # Extended Era @@ -598,7 +598,7 @@ sub CopyImages { $image =~ s/"//g; system ("$colorizer $data_dir/images/$image $html_dir/$unit_folder$image"); $image =~ s/.png/+female.png/; - system ("$colorizer $data_dir/images/$image $html_dir/$unit_folder$image") unless (! -e $image); + system ("$colorizer $data_dir/images/$image $html_dir/$unit_folder$image") unless (! -e "$data_dir/images/$image"); } close UNITS; # zombie units