tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH] Fix build bug under Ubuntu shell
From: Andy Shevchenko <andy.shevchenko%teleca.com@localhost>
The current Ubuntu shell (version 3.2.13(1), version 3.2.25(1), ...) has
some bug. Due to this the impossible to build /bin/sh in cross-compiling
mode on Ubuntu 7.04 and 7.10.
This patch is a workaround to make possible build on Ubuntu.
---
bin/sh/mkinit.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/sh/mkinit.sh b/bin/sh/mkinit.sh
index 74e858b..86769a3 100755
--- a/bin/sh/mkinit.sh
+++ b/bin/sh/mkinit.sh
@@ -138,7 +138,7 @@ echo
echo "void"
echo "init(void)"
echo "{"
-echo "${event_init%$nl}"
+echo "${event_init}"
echo "}"
echo
echo
@@ -151,7 +151,7 @@ echo
echo "void"
echo "reset(void)"
echo "{"
-echo "${event_reset%$nl}"
+echo "${event_reset}"
echo "}"
echo
echo
@@ -163,7 +163,7 @@ echo
echo "void"
echo "initshellproc(void)"
echo "{"
-echo "${event_shellproc%$nl}"
+echo "${event_shellproc}"
echo "}"
exec >&-
--
1.5.2.5
Home |
Main Index |
Thread Index |
Old Index