git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bc4c0
)
autobuild: cwd is needed on all command types
author
Andrew Tridgell
<tridge@samba.org>
Fri, 1 Oct 2010 18:12:24 +0000
(11:12 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 1 Oct 2010 18:12:24 +0000
(11:12 -0700)
script/autobuild.py
patch
|
blob
|
history
diff --git
a/script/autobuild.py
b/script/autobuild.py
index be8006c3245d80ae516bd5f91cf43f2c1dcaa5a4..4e3bc5101f0eed70a9eafed026c0f357d80bdade 100755
(executable)
--- 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):