Skip to content
Browse files

oebb: remove hidden sudo

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent f9d07c0 commit bb16b330376bdf90dfb712a1c53ed31f5103b8ae @koenkooi koenkooi committed Apr 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 oebb.sh
View
6 oebb.sh
@@ -141,11 +141,11 @@ else
echo "export BBPATH=\"${BBPATH}\"" >> ${OE_ENV_FILE}
#--------------------------------------------------------------------------
- # Reconfigure dash
+ # Look for dash
#--------------------------------------------------------------------------
if [ "$(readlink /bin/sh)" = "dash" ] ; then
- sudo aptitude install expect -y
- expect -c 'spawn sudo dpkg-reconfigure -freadline dash; send "n\n"; interact;'
+ echo "/bin/sh is a symlink to dash, please point it to bash instead"
+ exit 1
fi
echo "There now is a sourceable script in ~/.oe/enviroment. You can do '. ${OE_ENV_FILE}' and run 'bitbake something' without using $0 as wrapper"

0 comments on commit bb16b33

Please sign in to comment.
Something went wrong with that request. Please try again.