]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix: wrong path used when trying to commit
authorMathias Klette <mathias.klette@profitbricks.com>
Thu, 15 Sep 2011 15:58:40 +0000 (17:58 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Thu, 15 Sep 2011 15:58:40 +0000 (17:58 +0200)
lib/git_helper.py

index cb92d1668653cb43b7466115488219c9181ca2e0..885b4907e731d1b86c66ade91d8ddf1da2b20fbe 100644 (file)
@@ -218,7 +218,7 @@ def git_commit(message, paths=("-a",)):
             stderr=subprocess.PIPE,
             shell=False,
             env={'':''},
-            cwd='/',
+            cwd=os.getcwd(),
             close_fds=True
     )