[PATCH 1/6] defaultenv: source the init_board so we can keep exported env

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Jan 3 00:00:45 EST 2012


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 defaultenv/bin/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/defaultenv/bin/init b/defaultenv/bin/init
index b66f7d9..b371c42 100644
--- a/defaultenv/bin/init
+++ b/defaultenv/bin/init
@@ -21,7 +21,7 @@ if [ -e /dev/nand0 -a -n "$nand_parts" ]; then
 fi
 
 if [ -f /env/bin/init_board ]; then
-	/env/bin/init_board
+	. /env/bin/init_board
 fi
 
 echo
-- 
1.7.7




More information about the barebox mailing list