Patchwork [meta-networking,2/2] Quagga: clean up whitespaces/hardtabs in recipe

login
register
mail settings
Submitter Aws Ismail
Date March 25, 2013, 3:30 p.m.
Message ID <1364225407-13263-3-git-send-email-aws.ismail@windriver.com>
Download mbox | patch
Permalink /patch/46861/
State Accepted
Commit 525306f575eaa9c85309efade27450214359a780
Headers show

Comments

Aws Ismail - March 25, 2013, 3:30 p.m.
Minor clean-up for some places where whitespaces
and hardtabs stil existed.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
---
 .../recipes-protocols/quagga/quagga.inc            |   60 ++++++++++----------
 1 files changed, 30 insertions(+), 30 deletions(-)

Patch

diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index 9a70d18..b40c858 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -52,32 +52,32 @@  EXTRA_OECONF = "--sysconfdir=${sysconfdir}/quagga \
                 ${SNMP_CONF}"
 
 do_install () {
-        # Install init script and default settings
-        install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d \
-                           ${D}${sysconfdir}/quagga ${D}${sysconfdir}/default/volatiles
-        install -m 0644 ${WORKDIR}/quagga.default ${D}${sysconfdir}/default/quagga
-        install -m 0644 ${WORKDIR}/watchquagga.default ${D}${sysconfdir}/default/watchquagga
-        install -m 0755 ${WORKDIR}/quagga.init ${D}${sysconfdir}/init.d/quagga
-        install -m 0755 ${WORKDIR}/watchquagga.init ${D}${sysconfdir}/init.d/watchquagga
-        install -m 0644 ${WORKDIR}/volatiles.03_quagga  ${D}${sysconfdir}/default/volatiles/volatiles.03_quagga
-
-        # Install sample configurations for the daemons
-        for f in bgpd vtysh babeld isisd ospfd ripngd zebra ripd ospf6d; do
-            install -m 0640 ${S}/$f/$f.conf.sample ${D}${sysconfdir}/quagga/$f.conf.sample
-        done
-
-        # Install quagga
-        oe_runmake install DESTDIR=${D} prefix=${prefix} \
-                sbindir=${sbindir} \
-                sysconfdir=${sysconfdir}/quagga \
-                localstatedir=${localstatedir}/run/quagga
-
-	# Fix hardcoded paths
-	sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/*
-	sed -i 's!/usr/bin/!${bindir}/!g' ${D}${sysconfdir}/init.d/quagga
-	sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/* ${D}${sysconfdir}/default/watchquagga
-	sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/* ${D}${sysconfdir}/default/volatiles/volatiles.03_quagga
-	sed -i 's!^PATH=.*!PATH=${base_sbindir}:${sbindir}:${base_bindir}:${bindir}!' ${D}${sysconfdir}/init.d/*
+    # Install init script and default settings
+    install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d \
+    ${D}${sysconfdir}/quagga ${D}${sysconfdir}/default/volatiles
+    install -m 0644 ${WORKDIR}/quagga.default ${D}${sysconfdir}/default/quagga
+    install -m 0644 ${WORKDIR}/watchquagga.default ${D}${sysconfdir}/default/watchquagga
+    install -m 0755 ${WORKDIR}/quagga.init ${D}${sysconfdir}/init.d/quagga
+    install -m 0755 ${WORKDIR}/watchquagga.init ${D}${sysconfdir}/init.d/watchquagga
+    install -m 0644 ${WORKDIR}/volatiles.03_quagga  ${D}${sysconfdir}/default/volatiles/volatiles.03_quagga
+
+    # Install sample configurations for the daemons
+    for f in bgpd vtysh babeld isisd ospfd ripngd zebra ripd ospf6d; do
+        install -m 0640 ${S}/$f/$f.conf.sample ${D}${sysconfdir}/quagga/$f.conf.sample
+    done
+
+    # Install quagga
+    oe_runmake install DESTDIR=${D} prefix=${prefix} \
+            sbindir=${sbindir} \
+            sysconfdir=${sysconfdir}/quagga \
+            localstatedir=${localstatedir}/run/quagga
+
+    # Fix hardcoded paths
+    sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/*
+    sed -i 's!/usr/bin/!${bindir}/!g' ${D}${sysconfdir}/init.d/quagga
+    sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/* ${D}${sysconfdir}/default/watchquagga
+    sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/* ${D}${sysconfdir}/default/volatiles/volatiles.03_quagga
+    sed -i 's!^PATH=.*!PATH=${base_sbindir}:${sbindir}:${base_bindir}:${bindir}!' ${D}${sysconfdir}/init.d/*
 }
 
 # Split into a main package and separate per-protocol packages
@@ -125,10 +125,10 @@  pkg_postinst_${PN} () {
         exit 1
     fi
     for f in bgpd babeld isisd ospfd ripngd zebra ripd ospf6d; do touch ${sysconfdir}/quagga/$f.conf; done
-	chown quagga:quaggavty ${sysconfdir}/quagga
-	chown quagga:quagga ${sysconfdir}/quagga/*.conf
-	chmod 750 ${sysconfdir}/quagga
-	chown 640 ${sysconfdir}/quagga/*.conf
+    chown quagga:quaggavty ${sysconfdir}/quagga
+    chown quagga:quagga ${sysconfdir}/quagga/*.conf
+    chmod 750 ${sysconfdir}/quagga
+    chown 640 ${sysconfdir}/quagga/*.conf
     if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
         ${sysconfdir}/init.d/populate-volatile.sh update
     fi