From 8ffe1f2971a75711319f55f337f99392554fc812 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 24 Feb 2012 23:58:16 +0000 Subject: [PATCH] Quote out the svn and git commands for windoze git-svn-id: http://svn.osgeo.org/postgis/trunk@9295 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/svn_repo_revision.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/svn_repo_revision.pl b/utils/svn_repo_revision.pl index b573221db..519e87075 100755 --- a/utils/svn_repo_revision.pl +++ b/utils/svn_repo_revision.pl @@ -60,7 +60,7 @@ sub read_rev_git { } chop($git_exe); - my $cmd = "${git_exe} log --grep=git-svn -1 | grep git-svn | cut -d@ -f2 | cut -d' ' -f1"; + my $cmd = "\"${git_exe}\" log --grep=git-svn -1 | grep git-svn | cut -d@ -f2 | cut -d' ' -f1"; #print STDERR "cmd: ${cmd}\n"; my $rev = `$cmd`; @@ -92,9 +92,9 @@ sub read_rev_svn { my $svn_info; if ( $target eq "local" ) { - $svn_info = `${svn_exe} info`; + $svn_info = `"${svn_exe}" info`; } else { - $svn_info = `${svn_exe} info $target`; + $svn_info = `"${svn_exe}" info $target`; } my $rev; -- 2.40.0