summaryrefslogtreecommitdiffstats
path: root/meta-yocto/recipes-core
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-08-05 09:27:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 13:03:31 +0100
commit7616bea24c9537db254a9161043a7dae9eb461f0 (patch)
tree57dbd6c77de6e782c7956f2eeaf5655ac41993ed /meta-yocto/recipes-core
parentb6e4989e54217226213bd47c0c97cb0ae89bf1eb (diff)
downloadast2050-yocto-poky-7616bea24c9537db254a9161043a7dae9eb461f0.zip
ast2050-yocto-poky-7616bea24c9537db254a9161043a7dae9eb461f0.tar.gz
tiny-init: fix bashism
"source" is a bashism, replace it with the posix shell compliant "." (From meta-yocto rev: 44174721aeba2c18712818ac3698ee6807754ea7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/recipes-core')
-rw-r--r--meta-yocto/recipes-core/tiny-init/files/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init
index 4b78f01..9140e95 100644
--- a/meta-yocto/recipes-core/tiny-init/files/init
+++ b/meta-yocto/recipes-core/tiny-init/files/init
@@ -15,7 +15,7 @@ ifup lo
# Allow for distro or local customizations
if [ -f /etc/rc.local ] ; then
- source /etc/rc.local
+ . /etc/rc.local
fi
# Become session leader and try to find a real tty (e.g. ttyS0)
OpenPOWER on IntegriCloud