]> granicus.if.org Git - postgis/commitdiff
It's "svn", not "svnn". And a TODO item...
authorSandro Santilli <strk@keybit.net>
Sat, 11 Feb 2012 21:17:12 +0000 (21:17 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 11 Feb 2012 21:17:12 +0000 (21:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9157 b70326c6-7e19-0410-871a-916f4a2858ee

utils/svn_repo_revision.pl [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 46f8433..3eae91a
@@ -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;