busybox: trim superfluous trailing whitespace from .inc file
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 8 Feb 2010 21:14:22 +0000 (22:14 +0100)
committerPhil Blundell <philb@gnu.org>
Tue, 9 Feb 2010 12:03:26 +0000 (12:03 +0000)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
recipes/busybox/busybox.inc

index 519fcd6..7f67f47 100644 (file)
@@ -55,7 +55,7 @@ FILES_${PN} += "${datadir}/udhcpc"
 INITSCRIPT_PACKAGES = "${PN}-httpd ${PN}-syslog ${PN}-udhcpd"
 INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd"
 INITSCRIPT_NAME_${PN}-syslog = "syslog"
-INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd" 
+INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd"
 CONFFILES_${PN}-syslog = "${sysconfdir}/syslog.conf"
 
 # This disables the syslog startup links in slugos (see slugos-init)
@@ -137,7 +137,7 @@ pkg_postinst_${PN} () {
        # (update-alternatives have no problem replacing links later anyway)
        test -n 2> /dev/null || alias test='busybox test'
        if test "x$D" = "x"; then while read link; do if test ! -h "$link"; then case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; /*) to="/bin/busybox";; esac; busybox ln -s $to $link; fi; done </etc/busybox.links; fi
-       
+
        # This adds the links, remember that this has to work when building an image too, hence the $D
        while read link; do case "$link" in /*/*/*) to="../../bin/busybox";; /bin/*) to="busybox";; /*/*) to="../bin/busybox";; /*) to="/bin/busybox";; esac; bn=`basename $link`; update-alternatives --install $link $bn $to 50; done <$D/etc/busybox.links
 }
@@ -167,7 +167,7 @@ pkg_prerm_${PN} () {
                        /*/*/*) to="../../bin/busybox";;
                        /bin/*) to="busybox";;
                        /*/*) to="../bin/busybox";;
-                       /*) to="/bin/busybox";;         
+                       /*) to="/bin/busybox";;
                esac
                bn=`basename $link`
                sh /usr/bin/update-alternatives --remove $bn $to