diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-08-05 09:27:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-06 13:03:31 +0100 |
commit | 7616bea24c9537db254a9161043a7dae9eb461f0 (patch) | |
tree | 57dbd6c77de6e782c7956f2eeaf5655ac41993ed /meta-yocto/recipes-core/tiny-init | |
parent | b6e4989e54217226213bd47c0c97cb0ae89bf1eb (diff) | |
download | 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/tiny-init')
-rw-r--r-- | meta-yocto/recipes-core/tiny-init/files/init | 2 |
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 4b78f017fe..9140e9558e 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 | |||
15 | 15 | ||
16 | # Allow for distro or local customizations | 16 | # Allow for distro or local customizations |
17 | if [ -f /etc/rc.local ] ; then | 17 | if [ -f /etc/rc.local ] ; then |
18 | source /etc/rc.local | 18 | . /etc/rc.local |
19 | fi | 19 | fi |
20 | 20 | ||
21 | # Become session leader and try to find a real tty (e.g. ttyS0) | 21 | # Become session leader and try to find a real tty (e.g. ttyS0) |