From: Sandro Santilli Date: Sat, 11 Feb 2012 21:17:12 +0000 (+0000) Subject: It's "svn", not "svnn". And a TODO item... X-Git-Tag: 2.0.0alpha5~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46661069d38ab7e00258cc7a23857c49bc06b171;p=postgis It's "svn", not "svnn". And a TODO item... git-svn-id: http://svn.osgeo.org/postgis/trunk@9157 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/svn_repo_revision.pl b/utils/svn_repo_revision.pl old mode 100644 new mode 100755 index 46f84332a..3eae91a87 --- a/utils/svn_repo_revision.pl +++ b/utils/svn_repo_revision.pl @@ -5,7 +5,11 @@ $ENV{"LC_ALL"} = "C"; use Cwd; my $cwd = &Cwd::cwd(); -my $svn_exe = `which svnn`; +# TODO: test on old systems, I think I saw some `which` +# implementations returning "nothing found" or something +# like that, making the later if ( ! $svn_exe ) always false +# +my $svn_exe = `which svn`; my $svn_revision = 0; my $defn_string = $defn_string_start . $svn_revision;