summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-25 17:05:56 -0700
committerChris Larson <chris_larson@mentor.com>2011-02-25 17:05:56 -0700
commita7aa0415bdaa458a941004bf8dd8bbfeddd6ef5a (patch)
tree80d7f9d3c36575f137a02f5d3937825a193957c7
parenta600b79ecefc95eeb266c3f362c7160fa8c948c1 (diff)
downloadbitbake-a7aa0415bdaa458a941004bf8dd8bbfeddd6ef5a.tar.gz
build: add missing newline
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py
index aae77e140..20906377f 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -217,7 +217,7 @@ def exec_func_shell(function, d, runfile, cwd=None, fakeroot=False):
script.write("set -x\n")
if cwd:
- script.write("cd %s" % cwd)
+ script.write("cd %s\n" % cwd)
script.write("%s\n" % function)
os.fchmod(script.fileno(), 0775)