diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-03 13:40:52 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-03 13:40:52 +0000 |
commit | bfc70eb24e3ded25007811b1531673fa70b02401 (patch) | |
tree | fa4a29290d3178937fa085c147e8a51f815c6fdc /bitbake/lib/bb/build.py | |
parent | 034bbb805be0002fe6d689abde19662868b57b2c (diff) | |
download | poky-bfc70eb24e3ded25007811b1531673fa70b02401.tar.gz |
bitbake: Update along 1.8 branch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2345 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 4aaa6b262c..bcbc55eea5 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -150,7 +150,7 @@ def exec_func_shell(func, d): | |||
150 | if bb.msg.debug_level['default'] > 0: f.write("set -x\n") | 150 | if bb.msg.debug_level['default'] > 0: f.write("set -x\n") |
151 | data.emit_env(f, d) | 151 | data.emit_env(f, d) |
152 | 152 | ||
153 | f.write("cd '%s'\n" % os.getcwd()) | 153 | f.write("cd %s\n" % os.getcwd()) |
154 | if func: f.write("%s\n" % func) | 154 | if func: f.write("%s\n" % func) |
155 | f.close() | 155 | f.close() |
156 | os.chmod(runfile, 0775) | 156 | os.chmod(runfile, 0775) |
@@ -189,7 +189,7 @@ def exec_func_shell(func, d): | |||
189 | else: | 189 | else: |
190 | maybe_fakeroot = '' | 190 | maybe_fakeroot = '' |
191 | lang_environment = "LC_ALL=C " | 191 | lang_environment = "LC_ALL=C " |
192 | ret = os.system('%s%ssh -e "%s"' % (lang_environment, maybe_fakeroot, runfile)) | 192 | ret = os.system('%s%ssh -e %s' % (lang_environment, maybe_fakeroot, runfile)) |
193 | try: | 193 | try: |
194 | os.chdir(prevdir) | 194 | os.chdir(prevdir) |
195 | except: | 195 | except: |