diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-01 11:12:24 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-01 11:12:24 -0700 |
commit | 2d66bb51caf02c979f53688257dd33d7366b3ebc (patch) | |
tree | 7cff1b5a8869bb43c7d049a68f038349392ccc8f /script | |
parent | f6bc4c08b19f5615a49d281c0792c7fe4627e9bc (diff) | |
download | samba-2d66bb51caf02c979f53688257dd33d7366b3ebc.tar.gz samba-2d66bb51caf02c979f53688257dd33d7366b3ebc.tar.bz2 samba-2d66bb51caf02c979f53688257dd33d7366b3ebc.zip |
autobuild: cwd is needed on all command types
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index be8006c324..4e3bc5101f 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -78,9 +78,9 @@ def run_cmd(cmd, dir=".", show=None, output=False, checkfail=True): if output: return Popen([cmd], shell=True, stdout=PIPE, cwd=dir).communicate()[0] elif checkfail: - return check_call(cmd, shell=True) + return check_call(cmd, shell=True, cwd=dir) else: - return call(cmd, shell=True) + return call(cmd, shell=True, cwd=dir) class builder(object): |