Skip to content
Browse files

oebb: grep the correct DISTRO from local.conf, if there are other com…

…mented suggestions

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent dd2dc82 commit 1bcb9e8be1984f6dbc6f2cd8834486bfa22e35d7 @denix0 denix0 committed with koenkooi May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 oebb.sh
View
2 oebb.sh
@@ -120,7 +120,7 @@ else
#--------------------------------------------------------------------------
# Specify distribution information
#--------------------------------------------------------------------------
- DISTRO=$(grep DISTRO conf/local.conf | awk -F\" '{print $2}')
+ DISTRO=$(grep DISTRO conf/local.conf | grep -v '^#' | awk -F\" '{print $2}')
DISTRO_DIRNAME=`echo $DISTRO | sed s#[.-]#_#g`
echo "export SCRIPTS_BASE_VERSION=${BASE_VERSION}" > ${OE_ENV_FILE}

0 comments on commit 1bcb9e8

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