Permalink
Browse files

oebb.sh: fix autorun logic

  • Loading branch information...
1 parent 1631d04 commit 0ed3d1573d1dc1c01961318fb1e7968f46ee2aa4 @koenkooi koenkooi committed Oct 20, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 oebb.sh
View
@@ -125,7 +125,7 @@ else
#--------------------------------------------------------------------------
# Reconfigure dash
#--------------------------------------------------------------------------
- if [ $(readlink /bin/sh) = "dash" ] ; then
+ if [ "$(readlink /bin/sh)" = "dash" ] ; then
sudo aptitude install expect -y
expect -c 'spawn sudo dpkg-reconfigure -freadline dash; send "n\n"; interact;'
fi
@@ -166,6 +166,7 @@ function oe_build()
echo "No config found, please run $0 config <machine> first"
else
CL_MACHINE=$MACHINE
+ set_environment
config_oe && update_all
fi
fi

0 comments on commit 0ed3d15

Please sign in to comment.