]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
weston-init: Fix tab indentation
authorBreno Leitao <leitao@debian.org>
Thu, 9 May 2019 10:03:23 +0000 (11:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 May 2019 08:04:26 +0000 (09:04 +0100)
This patch simply fixes space and tab mixes. It converts space to tabs. This is
being done since I am going to change the code in the next commit and I do not
want to change more lines than it is required, thus, I am creating a commit
just to fix indentation, so I can create a cleaner patch later.

(From OE-Core rev: 82e97de432bfd553fb84b62666e2c860be2ecfeb)

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston-init/weston-start

index e72fbaaac4b7bb0fc2ca8b7620855dc8bd5324f8..d631c2f1e9c44ab887bc3321c6265046443e9904 100755 (executable)
@@ -5,8 +5,8 @@
 export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
 
 usage() {
-    cat <<EOF
-    $0 [<openvt arguments>] [-- <weston options>]
+       cat <<EOF
+       $0 [<openvt arguments>] [-- <weston options>]
 EOF
 }
 
@@ -59,11 +59,11 @@ if [ -d "$modules_dir" ]; then
 fi
 
 if test -z "$XDG_RUNTIME_DIR"; then
-    export XDG_RUNTIME_DIR=/run/user/`id -u`
-    if ! test -d "$XDG_RUNTIME_DIR"; then
-        mkdir --parents $XDG_RUNTIME_DIR
-        chmod 0700 $XDG_RUNTIME_DIR
-    fi
+       export XDG_RUNTIME_DIR=/run/user/`id -u`
+       if ! test -d "$XDG_RUNTIME_DIR"; then
+               mkdir --parents $XDG_RUNTIME_DIR
+               chmod 0700 $XDG_RUNTIME_DIR
+       fi
 fi
 
 exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log