From 46661069d38ab7e00258cc7a23857c49bc06b171 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 11 Feb 2012 21:17:12 +0000 Subject: [PATCH] It's "svn", not "svnn". And a TODO item... git-svn-id: http://svn.osgeo.org/postgis/trunk@9157 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/svn_repo_revision.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 utils/svn_repo_revision.pl 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; -- 2.40.0