summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/devtool3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/devtool b/scripts/devtool
index b9d3bb9e85..87df951dc1 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -221,6 +221,9 @@ def main():
221 if not config.read(): 221 if not config.read():
222 return -1 222 return -1
223 223
224 # We need to be in this directory or we won't be able to initialise tinfoil
225 os.chdir(basepath)
226
224 bitbake_subdir = config.get('General', 'bitbake_subdir', '') 227 bitbake_subdir = config.get('General', 'bitbake_subdir', '')
225 if bitbake_subdir: 228 if bitbake_subdir:
226 # Normally set for use within the SDK 229 # Normally set for use within the SDK