diff mbox series

[1/7] bitbake-setup: suggest "." instead of "source"

Message ID 20251002100929.1054540-1-alex.kanavin@gmail.com
State New
Headers show
Series [1/7] bitbake-setup: suggest "." instead of "source" | expand

Commit Message

Alexander Kanavin Oct. 2, 2025, 10:09 a.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

"." is in POSIX standard[0], whereas "source" is only supported in more
feature-full shells (bash, zsh, ...)

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 bin/bitbake-setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/bin/bitbake-setup b/bin/bitbake-setup
index 1fbb65494..51d9503c4 100755
--- a/bin/bitbake-setup
+++ b/bin/bitbake-setup
@@ -219,7 +219,7 @@  The bitbake configuration files (local.conf, bblayers.conf and more) can be foun
         f.write(readme)
     print("Usage instructions and additional information are in\n     {}\n".format(readme_file))
     print("The bitbake configuration files (local.conf, bblayers.conf and more) can be found in\n    {}/conf\n".format(bitbake_builddir))
-    print("To run builds, source the environment using\n    source {}".format(init_script))
+    print("To run builds, source the environment using\n    . {}".format(init_script))
 
 def get_registry_config(registry_path, id):
     for root, dirs, files in os.walk(registry_path):