diff mbox

[3/3] lsb 4.1: fix indentation

Message ID 1415108447-16821-3-git-send-email-koen.kooi@linaro.org
State New
Headers show

Commit Message

Koen Kooi Nov. 4, 2014, 1:40 p.m. UTC
Shell methods use tabs, variables use spaces.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/recipes-extended/lsb/lsb_4.1.bb | 96 ++++++++++++++++++------------------
 1 file changed, 48 insertions(+), 48 deletions(-)
diff mbox

Patch

diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
index 897520a..b35796d 100644
--- a/meta/recipes-extended/lsb/lsb_4.1.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -15,7 +15,7 @@  SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar
            file://lsb_log_message \
            file://lsb_pidofproc \
            file://lsb_start_daemon \
-           "
+          "
 
 SRC_URI[md5sum] = "30537ef5a01e0ca94b7b8eb6a36bb1e4"
 SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172"
@@ -73,54 +73,54 @@  do_install(){
 		touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-ppc64
 	fi
 
-       install -d ${D}${sysconfdir}/core-lsb
-       install -d ${D}/${baselib}/lsb
-       for i in lsb_killproc lsb_log_message lsb_pidofproc lsb_start_daemon
-       do
-           install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb
-       done
-       install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb
-
-       # creat links for LSB test
-       install -d ${D}${libdir}/lsb
-       ln -sf ${sbindir}/chkconfig ${D}${libdir}/lsb/install_initd
-       ln -sf ${sbindir}/chkconfig ${D}${libdir}/lsb/remove_initd
-       install -d ${D}/${libdir}
-       ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
-
-       if [ "${TARGET_ARCH}" = "x86_64" ];then
-	       cd ${D}
-               if [ "${baselib}" != "lib64" ]; then
-                   ln -sf ${baselib} lib64
-               fi
-	       cd ${D}/${baselib}
-               ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.2
-               ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
-       fi
-       if [ "${TARGET_ARCH}" = "i586" ];then
-	       cd ${D}/${baselib}
-               ln -sf ld-linux.so.2 ld-lsb.so.2
-               ln -sf ld-linux.so.2 ld-lsb.so.3
-       fi
-
-       if [ "${TARGET_ARCH}" = "powerpc64" ];then
-               cd ${D}
-               if [ "${baselib}" != "lib64" ]; then
-                   ln -sf ${baselib} lib64
-               fi
-               cd ${D}/${baselib}
-               ln -sf ld64.so.1 ld-lsb-ppc64.so.2
-               ln -sf ld64.so.1 ld-lsb-ppc64.so.3
-       fi
-       if [ "${TARGET_ARCH}" = "powerpc" ];then
-	       cd ${D}/${baselib}
-               ln -sf ld.so.1 ld-lsb-ppc32.so.2
-               ln -sf ld.so.1 ld-lsb-ppc32.so.3
-       fi
+	install -d ${D}${sysconfdir}/core-lsb
+	install -d ${D}/${baselib}/lsb
+	for i in lsb_killproc lsb_log_message lsb_pidofproc lsb_start_daemon
+	do
+	    install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb
+	done
+	install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb
+
+	# creat links for LSB test
+	install -d ${D}${libdir}/lsb
+	ln -sf ${sbindir}/chkconfig ${D}${libdir}/lsb/install_initd
+	ln -sf ${sbindir}/chkconfig ${D}${libdir}/lsb/remove_initd
+	install -d ${D}/${libdir}
+	ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
+
+	if [ "${TARGET_ARCH}" = "x86_64" ];then
+		cd ${D}
+		 if [ "${baselib}" != "lib64" ]; then
+		     ln -sf ${baselib} lib64
+		 fi
+		cd ${D}/${baselib}
+		 ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.2
+		 ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
+	fi
+	if [ "${TARGET_ARCH}" = "i586" ];then
+		cd ${D}/${baselib}
+		 ln -sf ld-linux.so.2 ld-lsb.so.2
+		 ln -sf ld-linux.so.2 ld-lsb.so.3
+	fi
+
+	if [ "${TARGET_ARCH}" = "powerpc64" ];then
+		 cd ${D}
+		 if [ "${baselib}" != "lib64" ]; then
+		     ln -sf ${baselib} lib64
+		 fi
+		 cd ${D}/${baselib}
+		 ln -sf ld64.so.1 ld-lsb-ppc64.so.2
+		 ln -sf ld64.so.1 ld-lsb-ppc64.so.3
+	fi
+	if [ "${TARGET_ARCH}" = "powerpc" ];then
+		cd ${D}/${baselib}
+		 ln -sf ld.so.1 ld-lsb-ppc32.so.2
+		 ln -sf ld.so.1 ld-lsb-ppc32.so.3
+	fi
 }
 
 FILES_${PN} += "/lib64 \
-		${libdir}/lsb \
+                ${libdir}/lsb \
                 ${base_libdir}/lsb/* \
-		${libdir}/sendmail \
-               "
+                ${libdir}/sendmail \
+ "