Commit: a906187e5b716c29691abfe44d1dc876232b711d Author: David Soria Parra(d...@php.net) Mon, 19 Mar 2012 18:16:10 +0100 Committer: David Soria Parra(d...@php.net) Mon, 19 Mar 2012 18:16:10 +0100 Parents: a805c5336965215eda3f10c6ad33b5f9e8b93f83
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=a906187e5b716c29691abfe44d1dc876232b711d Log: Use the right GIT_EXECUTABLE constant Changed paths: M lib/Git/BugsWebPostReceiveHook.php Diff: a906187e5b716c29691abfe44d1dc876232b711d diff --git a/lib/Git/BugsWebPostReceiveHook.php b/lib/Git/BugsWebPostReceiveHook.php index 13e263b..ee54826 100644 --- a/lib/Git/BugsWebPostReceiveHook.php +++ b/lib/Git/BugsWebPostReceiveHook.php @@ -37,7 +37,7 @@ class BugsWebPostReceiveHook extends ReceiveHook if ($old == '0000000000000000000000000000000000000000') { $cmd = sprintf( "%s --git-dir=%s for-each-ref --format='%%(refname)' 'refs/heads/*'", - self::GIT_EXECUTABLE, + \Git::GIT_EXECUTABLE, $repourl ); exec($cmd, $output); @@ -66,4 +66,4 @@ class BugsWebPostReceiveHook extends ReceiveHook return $output; } -} \ No newline at end of file +} -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php