diff --git a/getrevision.pl b/getrevision.pl new file mode 100755 index 0000000000..5a0d8f7610 --- /dev/null +++ b/getrevision.pl @@ -0,0 +1,17 @@ +#! /usr/bin/perl + +my $checkrev = qr/commit[ \n]+revision=\"(\d+)\">/; +my $text = `svn info --xml .`; +my $revision = $1 if $text =~ $checkrev; +foreach my $file (@ARGV) +{ + my $ftext = `svn info --xml $file`; + my $frevision = $1 if $ftext =~ $checkrev; + if($frevision > $revision) + { + $text = $ftext; + $revision = $frevision; + } +} + +print $text; diff --git a/osmarender/build.xml b/osmarender/build.xml index aba9ed653d..aa509c742f 100644 --- a/osmarender/build.xml +++ b/osmarender/build.xml @@ -35,11 +35,10 @@ - + - - - + + diff --git a/slippy_map_chooser/build.xml b/slippy_map_chooser/build.xml index 1e9b4c8233..9a5f5592f5 100644 --- a/slippy_map_chooser/build.xml +++ b/slippy_map_chooser/build.xml @@ -24,11 +24,10 @@ - + - - - + + @@ -61,5 +60,4 @@ -