summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox_1.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/busybox/busybox_1.2.1.bb')
-rw-r--r--packages/busybox/busybox_1.2.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/busybox/busybox_1.2.1.bb b/packages/busybox/busybox_1.2.1.bb
index ee71f37fa8..4c208e2a0b 100644
--- a/packages/busybox/busybox_1.2.1.bb
+++ b/packages/busybox/busybox_1.2.1.bb
@@ -79,7 +79,7 @@ do_install () {
install -d ${D}${base_bindir}
mv ${D}/busybox${base_bindir}/busybox ${D}${base_bindir}/
# Move back the sh symlink
- mv ${D}/busybox${base_bindir}/sh ${D}${base_bindir}/
+ test -h ${D}/busybox${base_bindir}/sh && mv ${D}/busybox${base_bindir}/sh ${D}${base_bindir}/
install -m 0755 ${WORKDIR}/syslog ${D}${sysconfdir}/init.d/
install -m 644 ${WORKDIR}/syslog.conf ${D}${sysconfdir}/