]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
busybox: Omit trailing whitespaces
authorKhem Raj <raj.khem@gmail.com>
Wed, 29 Oct 2025 19:20:10 +0000 (12:20 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 31 Oct 2025 18:54:28 +0000 (11:54 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-core/busybox/busybox.inc

index 2d9f7d7c19d78a71ae514aa8ddd35723458dc450..abe4649b2a17c3bf99f227efa3fe244004dcda5c 100644 (file)
@@ -451,7 +451,7 @@ pkg_postinst:${PN}:prepend () {
         # Need path to saved utils, but they may have be removed on upgrade of busybox
         # Only use shell to get paths. Also capture if busybox was saved.
         BUSYBOX=""
-        if [ "x$D" = "x" ] ; then 
+        if [ "x$D" = "x" ] ; then
            for busybox_rmdir in /tmp/busyboxrm-*; do
                if [ "$busybox_rmdir" != '/tmp/busyboxrm-*' ] ; then
                   export PATH=$busybox_rmdir:$PATH
@@ -471,7 +471,7 @@ pkg_postinst:${PN}:append () {
               rm -f $BUSYBOX
            fi
         fi
-} 
+}
 
 pkg_prerm:${PN} () {
        # This is so you can make busybox commit suicide - removing busybox with no other packages
@@ -499,7 +499,7 @@ pkg_prerm:${PN} () {
         if [ -n "$(readlink -f /bin/sh | grep busybox)" ] ; then
            BUSYBOX=$(readlink -f /bin/sh)
            cp $BUSYBOX $tmpdir/$(basename $BUSYBOX)
-           update-alternatives --install /bin/sh sh $tmpdir/$(basename $BUSYBOX) 1 
+           update-alternatives --install /bin/sh sh $tmpdir/$(basename $BUSYBOX) 1
         fi
 }