From 572c9036b8d0c133226a5c502410e1433d4e0c6d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 26 Jul 2010 01:25:30 +0200 Subject: [PATCH] config/options.python: break if the path is not found Signed-off-by: Stephan Raue --- config/options.python | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/options.python b/config/options.python index e3a002a0e5..1f3514536b 100644 --- a/config/options.python +++ b/config/options.python @@ -5,8 +5,8 @@ PYTHON_INCDIR="`ls -d $SYSROOT_PREFIX/usr/include/python*`" PYTHON_TOOLCHAIN_PATH=`ls -d $PYTHON_LIBDIR/site-packages` PYTHON_SYSROOT_PATH=$PYTHON_TOOLCHAIN_PATH -PYTHON_IMAGE_DIR="`ls -d $BUILD/image/system/usr/lib/python*`" -PYTHON_IMAGE_PATH=`ls -d $PYTHON_IMAGE_DIR/site-packages` +PYTHON_IMAGE_DIR="`ls -d $BUILD/image/system/usr/lib/python* || true`" +PYTHON_IMAGE_PATH=`ls -d $PYTHON_IMAGE_DIR/site-packages || true` export PYTHON="$ROOT/$TOOLCHAIN/bin/python" export LDSHARED="$CC -shared"