Move $gitbin earlier in gitweb.cgi
[gitweb.git] / gitweb / gitweb.cgi
index 87ec565f63847cbf6a3815e5f8756bc6a8d1a889..ef7fcbd84f1b80bfef982685a445cca1923692af 100755 (executable)
@@ -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 (.*)$/) {