diff mbox

[5/7] net-tools: Use install not cp to install

Message ID 6ba201478fac0c5f4c807d7bfda82d8fd63eca56.1398257704.git.Morten.ThunbergSvendsen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Morten Svendsen April 23, 2014, 1:02 p.m. UTC
---
 recipes/net-tools/net-tools_1.60.oe | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/recipes/net-tools/net-tools_1.60.oe b/recipes/net-tools/net-tools_1.60.oe
index 117f916..13a63c6 100644
--- a/recipes/net-tools/net-tools_1.60.oe
+++ b/recipes/net-tools/net-tools_1.60.oe
@@ -123,6 +123,6 @@  do_compile() {
 do_install() {
     oe_runmake 'BASEDIR=${D}' install
 
-    cp ${S}/mii-diag ${D}/${base_sbindir}/
-    cp ${S}/ether-wake ${D}/${base_sbindir}/
+    install -m 0755 ${S}/mii-diag ${D}/${base_sbindir}/
+    install -m 0755 ${S}/ether-wake ${D}/${base_sbindir}/
 }