summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/poky-env-internal3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index ccbd2088ae..78a7d45ad0 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -26,6 +26,8 @@ OEROOT=`pwd`
26 26
27if [ "x$1" = "x" ]; then 27if [ "x$1" = "x" ]; then
28 BDIR="build" 28 BDIR="build"
29else
30 BDIR="$1"
29fi 31fi
30 32
31BBDIR="$OEROOT/bitbake/" 33BBDIR="$OEROOT/bitbake/"
@@ -48,7 +50,6 @@ BUILDDIR=`readlink -f "$BUILDDIR"`
48 50
49if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then 51if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then
50 echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?" 52 echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
51 exit 1
52fi 53fi
53 54
54if ! (test -r "$BUILDDIR/conf/local.conf"); then 55if ! (test -r "$BUILDDIR/conf/local.conf"); then