diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-env-internal | 2 |
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 BDIR=`readlink -f "$1"` fi fi -if [[ "$BDIR" = /* ]] ; then +if expr "$BDIR" : '/.*' > /dev/null ; then BUILDDIR="$BDIR" else BUILDDIR="`pwd`/$BDIR" |