From: Mathias Klette Date: Thu, 15 Sep 2011 15:58:40 +0000 (+0200) Subject: fix: wrong path used when trying to commit X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=4620f5759cd75cee71d60634f491f666b133b83b;p=profitbricks%2Fjenkins-build-scripts.git fix: wrong path used when trying to commit --- diff --git a/lib/git_helper.py b/lib/git_helper.py index cb92d16..885b490 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -218,7 +218,7 @@ def git_commit(message, paths=("-a",)): stderr=subprocess.PIPE, shell=False, env={'':''}, - cwd='/', + cwd=os.getcwd(), close_fds=True )