mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
poky-env-internal: Fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2194 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
+11
-11
@@ -24,30 +24,30 @@
|
|||||||
|
|
||||||
OEROOT=`pwd`
|
OEROOT=`pwd`
|
||||||
|
|
||||||
BBDIR=$OEROOT/bitbake/
|
BBDIR="$OEROOT/bitbake/"
|
||||||
PKGDIR=$OEROOT/meta/
|
PKGDIR="$OEROOT/meta/"
|
||||||
BUILDDIR=$OEROOT/build/
|
BUILDDIR="$OEROOT/build/"
|
||||||
MSG=''
|
MSG=''
|
||||||
|
|
||||||
BUILD_ARCH=`uname -m`
|
BUILD_ARCH=`uname -m`
|
||||||
BUILD_OS=`uname | tr [A-Z] [a-z]`
|
BUILD_OS=`uname | tr [A-Z] [a-z]`
|
||||||
BUILD_SYS=$BUILD_ARCH-$BUILD_OS
|
BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
|
||||||
|
|
||||||
PATH=$BBDIR/bin/:$OEROOT/scripts:$PATH
|
PATH="$BBDIR/bin/:$OEROOT/scripts:$PATH"
|
||||||
|
|
||||||
cd $BUILDDIR
|
cd "$BUILDDIR"
|
||||||
|
|
||||||
# Remove any symlinks from paths
|
# Remove any symlinks from paths
|
||||||
BBDIR=`readlink -f $BBDIR`
|
BBDIR=`readlink -f "$BBDIR"`
|
||||||
PKGDIR=`readlink -f $PKGDIR`
|
PKGDIR=`readlink -f "$PKGDIR"`
|
||||||
BUILDDIR=`readlink -f $BUILDDIR`
|
BUILDDIR=`readlink -f "$BUILDDIR"`
|
||||||
|
|
||||||
if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
|
if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then
|
||||||
echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
|
echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! (test -r $BUILDDIR/conf/local.conf); then
|
if ! (test -r "$BUILDDIR/conf/local.conf"); then
|
||||||
cp -f $BUILDDIR/conf/local.conf.sample $BUILDDIR/conf/local.conf
|
cp -f $BUILDDIR/conf/local.conf.sample $BUILDDIR/conf/local.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user