[Lunar-commits] <moonbase-other> busybox: This needs the test for systems without /bin -> /usr/bin symlink.

Dennis Veatch stumbles at lunar-linux.org
Fri Jul 20 21:10:01 CEST 2012


commit 5e7c91493d5a16a1de1541aa8ae2f46ec8b58c95
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Fri, 20 Jul 2012 12:10:01 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/5e7c91493d5a16a1de1541aa8ae2f46ec8b58c95

busybox: This needs the test for systems without /bin -> /usr/bin symlink.
---
  shells/busybox/BUILD                                         +5/-1     
  1 files changed, 5 insertions (+), 1 deletions (-)

--- a/shells/busybox/BUILD
+++ b/shells/busybox/BUILD
@@ -1,8 +1,12 @@
 (
 
+  # for systems without /bin -> /usr/bin symlink
+  if [ "`cd /usr/bin; pwd -P`" != "`cd /bin; pwd -P`" ]; then
+    ln -sf /usr/bin/echo /bin/echo
+  fi &&
 
 # It looks for echo in the wrong place.
-  ln -sf /usr/bin/echo /bin/echo &&
+#  ln -sf /usr/bin/echo /bin/echo &&
 
   make defconfig  &&
   make  &&




More information about the Lunar-commits mailing list