diff options
| -rwxr-xr-x | bitbake/bin/bitbake-setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-setup b/bitbake/bin/bitbake-setup index f24d39481b..cb10b41d42 100755 --- a/bitbake/bin/bitbake-setup +++ b/bitbake/bin/bitbake-setup | |||
| @@ -443,7 +443,7 @@ def init_config(top_dir, settings, args, d): | |||
| 443 | 443 | ||
| 444 | builddir = os.path.join(os.path.abspath(top_dir), args.build_dir_name or "{}-{}".format(upstream_config['name']," ".join(upstream_config['non-interactive-cmdline-options'][1:]).replace(" ","-").replace("/","_"))) | 444 | builddir = os.path.join(os.path.abspath(top_dir), args.build_dir_name or "{}-{}".format(upstream_config['name']," ".join(upstream_config['non-interactive-cmdline-options'][1:]).replace(" ","-").replace("/","_"))) |
| 445 | if os.path.exists(os.path.join(builddir, "layers")): | 445 | if os.path.exists(os.path.join(builddir, "layers")): |
| 446 | print("Build already initialized in {}\nUse 'bitbake-setup status' to check if it needs to be updated or 'bitbake-setup update' to perform the update.".format(builddir)) | 446 | print(f"Build already initialized in:\n {builddir}\nUse 'bitbake-setup status' to check if it needs to be updated, or 'bitbake-setup update' to perform the update.\nIf you would like to start over and re-initialize a build in this directory, remove it, and run 'bitbake-setup init' again.") |
| 447 | return | 447 | return |
| 448 | 448 | ||
| 449 | print("Initializing a build in\n {}".format(builddir)) | 449 | print("Initializing a build in\n {}".format(builddir)) |
