diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-17 14:42:16 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-17 14:42:16 +0000 |
commit | 7d44fdb7dc59846812b238fc89e587ea03dbfde6 (patch) | |
tree | ee1847108f5a3579a1f9eebed295a27383bece3c /scripts | |
parent | b2d7cb67463e8e8d20b98ce43edb49e51526c973 (diff) | |
download | poky-7d44fdb7dc59846812b238fc89e587ea03dbfde6.tar.gz |
poky-env-internal: fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2197 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-env-internal | 3 |
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 | ||
27 | if [ "x$1" = "x" ]; then | 27 | if [ "x$1" = "x" ]; then |
28 | BDIR="build" | 28 | BDIR="build" |
29 | else | ||
30 | BDIR="$1" | ||
29 | fi | 31 | fi |
30 | 32 | ||
31 | BBDIR="$OEROOT/bitbake/" | 33 | BBDIR="$OEROOT/bitbake/" |
@@ -48,7 +50,6 @@ BUILDDIR=`readlink -f "$BUILDDIR"` | |||
48 | 50 | ||
49 | if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then | 51 | if ! (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 | ||
52 | fi | 53 | fi |
53 | 54 | ||
54 | if ! (test -r "$BUILDDIR/conf/local.conf"); then | 55 | if ! (test -r "$BUILDDIR/conf/local.conf"); then |