diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-06-21 09:48:04 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-21 02:02:01 -0700 |
commit | 3f7f271004cd6b8f98bc4437408411c96a4766eb (patch) | |
tree | 93118e08632df8dae4c8380c0eb0d15c9a138949 | |
parent | ae20de5386f74dbde991186694cfdac323b21e47 (diff) | |
download | git-3f7f271004cd6b8f98bc4437408411c96a4766eb.tar.gz git-3f7f271004cd6b8f98bc4437408411c96a4766eb.tar.xz |
Move $gitbin earlier in gitweb.cgi
(cherry picked from 9dca843086356b964f27d8fabe1e3c48074a9f02 commit)
Signed-off-by: Jakub Narebski <jnareb.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-x | gitweb/gitweb.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi index 87ec565f6..ef7fcbd84 100755 --- a/gitweb/gitweb.cgi +++ b/gitweb/gitweb.cgi @@ -22,13 +22,13 @@ my $my_url = $cgi->url(); my $my_uri = $cgi->url(-absolute => 1); my $rss_link = ""; +# location of the git-core binaries +my $gitbin = "/usr/bin"; + # absolute fs-path which will be prepended to the project path #my $projectroot = "/pub/scm"; my $projectroot = "/home/kay/public_html/pub/scm"; -# location of the git-core binaries -my $gitbin = "/usr/bin"; - # version of the git-core binaries my $git_version = qx($gitbin/git --version); if ($git_version =~ m/git version (.*)$/) { |