summaryrefslogtreecommitdiffstats
path: root/scripts/poky-env-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-env-internal')
-rwxr-xr-xscripts/poky-env-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 2ec07ed061..06586ec56f 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -31,7 +31,7 @@ if [ "x$BDIR" = "x" ]; then
31 BDIR=`readlink -f "$1"` 31 BDIR=`readlink -f "$1"`
32 fi 32 fi
33fi 33fi
34if [[ "$BDIR" = /* ]] ; then 34if expr "$BDIR" : '/.*' > /dev/null ; then
35 BUILDDIR="$BDIR" 35 BUILDDIR="$BDIR"
36else 36else
37 BUILDDIR="`pwd`/$BDIR" 37 BUILDDIR="`pwd`/$BDIR"