aboutsummaryrefslogtreecommitdiffstats
path: root/bin/oe/build.py
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-27 05:15:57 +0000
committerChris Larson <clarson@kergoth.com>2004-05-27 05:15:57 +0000
commit27aaaf05d86ae2e438a23fd308b255f0ccbb4d62 (patch)
tree68ed638f787056c7c239b3022390b70d8b070e35 /bin/oe/build.py
parent75fd96e8844935e716c19e3ed823d5fae3ed15b2 (diff)
downloadbitbake-27aaaf05d86ae2e438a23fd308b255f0ccbb4d62.tar.gz
BUGFIX: correct indentation on that build debugging cset.
Diffstat (limited to 'bin/oe/build.py')
-rw-r--r--bin/oe/build.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/oe/build.py b/bin/oe/build.py
index 9022d52cb..92ac8f74a 100644
--- a/bin/oe/build.py
+++ b/bin/oe/build.py
@@ -176,16 +176,16 @@ def exec_func_shell(func, d):
# open logs
si = file('/dev/null', 'r')
try:
- if data.getVar("OEDEBUG", d):
- so = os.popen("tee \"%s\"" % logfile, "w")
- se = so
- else:
- so = file(logfile, 'w')
- se = so
+ if data.getVar("OEDEBUG", d):
+ so = os.popen("tee \"%s\"" % logfile, "w")
+ else:
+ so = file(logfile, 'w')
except OSError, e:
- oe.error("opening log files: %s" % e)
+ oe.error("opening log file: %s" % e)
pass
+ se = so
+
# dup the existing fds so we dont lose them
osi = [os.dup(sys.stdin.fileno()), sys.stdin.fileno()]
oso = [os.dup(sys.stdout.fileno()), sys.stdout.fileno()]