Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] dhcp: don't try to move files from ${sbindir} to ${base_sbindir} if they are the same
@ 2011-06-16 13:27 Phil Blundell
  2011-06-27 15:26 ` Phil Blundell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Phil Blundell @ 2011-06-16 13:27 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/recipes-connectivity/dhcp/dhcp4.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/dhcp/dhcp4.inc b/meta/recipes-connectivity/dhcp/dhcp4.inc
index 159ae89..885cc19 100644
--- a/meta/recipes-connectivity/dhcp/dhcp4.inc
+++ b/meta/recipes-connectivity/dhcp/dhcp4.inc
@@ -47,7 +47,9 @@ do_install_append () {
 	install -m 0644 ${WORKDIR}/dhcpd.conf ${D}${sysconfdir}/dhcp/dhcpd.conf
 
 	install -d ${D}${base_sbindir}/
-	mv ${D}${sbindir}/dhclient ${D}${base_sbindir}/
+	if [ "${sbindir}" != "${base_sbindir}" ]; then
+		mv ${D}${sbindir}/dhclient ${D}${base_sbindir}/
+	fi
 	install -m 0755 ${S}/client/scripts/linux ${D}${base_sbindir}/dhclient-script
 }
 
-- 
1.7.2.5






^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-29  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 13:27 [PATCH] dhcp: don't try to move files from ${sbindir} to ${base_sbindir} if they are the same Phil Blundell
2011-06-27 15:26 ` Phil Blundell
2011-06-29  0:31 ` Khem Raj
2011-06-29  0:42 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox