gitweb: Make it work with $GIT containing spaces
PATCH 1/1 gitweb: Make it work with $GIT containing spaces
This fixes single point where $GIT (which can contain full path to git binary) with embedded spaces gave errors.
Signed-off-by Jakub Narebski <[email protected]>
---
gitweb/gitweb.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
gitweb/gitweb.perl +1 -1
@@ -377,7 +377,7 @@ if (-e $GITWEB_CONFIG) { } # version of the core git binary -our $git_version = qx($GIT --version) =~ m/git version (.*)$/ ? $1 : "unknown"; +our $git_version = qx("$GIT" --version) =~ m/git version (.*)$/ ? $1 : "unknown"; $projects_list ||= $projectroot;