From: Jörg Sommer <[email protected]>

If $base_sbindir = $base_bindir the sbindir already exists.

Signed-off-by: Jörg Sommer <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
(cherry picked from commit a94c7ecf8988a186b5bf7b77c9e685c98e22ed31)
Signed-off-by: Yoann Congal <[email protected]>
---
 meta/recipes-extended/net-tools/net-tools_2.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/net-tools/net-tools_2.10.bb 
b/meta/recipes-extended/net-tools/net-tools_2.10.bb
index 6c8297ba399..a21916fb263 100644
--- a/meta/recipes-extended/net-tools/net-tools_2.10.bb
+++ b/meta/recipes-extended/net-tools/net-tools_2.10.bb
@@ -73,7 +73,7 @@ do_install() {
                rmdir ${D}/bin
        fi
        if [ "${base_sbindir}" != "/sbin" ]; then
-               mkdir ${D}/${base_sbindir}
+               mkdir -p ${D}${base_sbindir}
                mv ${D}/sbin/* ${D}/${base_sbindir}/
                rmdir ${D}/sbin
        fi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239232): 
https://lists.openembedded.org/g/openembedded-core/message/239232
Mute This Topic: https://lists.openembedded.org/mt/119897528/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to