--- sodipodi-flags/gen_cc.pl.orig 2004-01-09 23:40:23 +0300 +++ sodipodi-flags/gen_cc.pl 2004-06-08 13:22:51 +0400 @@ -4,7 +4,7 @@ my $nations_dir = 'nations'; my $codes_dir = 'cc'; -my $hard_link = 1; +my $hard_link = 0; my $debug = 0; # Non-standart or not in $nations_dir flags @@ -88,7 +88,7 @@ link($from, $to) || warn("Error linking $from to $to: $!\n"); } else { - symlink("../$from", $to) || warn("Error linking ../$from to $to: $!\n"); + symlink("$ARGV[0]/$from", $to) || warn("Error linking $ARGV[0]/$from to $to: $!\n"); } delete($cc{$cc}); } @@ -103,7 +103,7 @@ link($from, $to) || warn("Error linking $from to $to: $!\n"); } else { - symlink("../$from", $to) || warn("Error linking ../$from to $to: $!\n"); + symlink("$ARGV[0]/$from", $to) || warn("Error linking $ARGV[0]/$from to $to: $!\n"); } delete($cc{$cc}); $was_used = 1;