fix git dir creation
[phorkie.git] / 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')
             //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) {
             ->execute();
 
         foreach (glob($repo->gitDir . '/hooks/*') as $hookfile) {