]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tiny-init: fix bashism
authorChen Qi <Qi.Chen@windriver.com>
Mon, 5 Aug 2013 01:27:34 +0000 (09:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Aug 2013 12:03:25 +0000 (13:03 +0100)
"source" is a bashism, replace it with the posix shell compliant "."

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto/recipes-core/tiny-init/files/init

index 4b78f017fe29c216c7e924473d52b526d3e9a073..9140e9558e63cba24407d8c9667896cbaed2602a 100644 (file)
@@ -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)