fix git dir creation
authorChristian Weiske <cweiske@cweiske.de>
Fri, 13 Apr 2012 11:35:07 +0000 (13:35 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 13 Apr 2012 11:35:07 +0000 (13:35 +0200)
src/phorkie/Repository/Post.php

index f138491ac58735bc83eb61002aff455fdaf7e88c..a982c7fd04a6bade3fe217657b3342576b965f3a 100644 (file)
@@ -118,7 +118,7 @@ class Repository_Post
             //this should be setOption, but it fails with a = between name and value
             ->addArgument('--separate-git-dir')
             ->addArgument($GLOBALS['phorkie']['cfg']['gitdir'] . '/' . $repo->id . '.git')
-            ->addArgument($repo->workDir);
+            ->addArgument($repo->workDir)
             ->execute();
 
         foreach (glob($repo->gitDir . '/hooks/*') as $hookfile) {