summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-17 13:26:55 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-17 13:26:55 +0000
commit21b7fabf6a3cfb92c9fb89e2df8791778d46fb46 (patch)
tree032949c3955d661ddfceec8bc7db0069cb2b6a21 /scripts
parent58184103e4b1785a7f743e9d3ea93aebce67e4b6 (diff)
downloadpoky-21b7fabf6a3cfb92c9fb89e2df8791778d46fb46.tar.gz
poky-env-internal: Fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2194 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-env-internal22
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index b1e5546bba..1b231bcdf4 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -24,30 +24,30 @@
24 24
25OEROOT=`pwd` 25OEROOT=`pwd`
26 26
27BBDIR=$OEROOT/bitbake/ 27BBDIR="$OEROOT/bitbake/"
28PKGDIR=$OEROOT/meta/ 28PKGDIR="$OEROOT/meta/"
29BUILDDIR=$OEROOT/build/ 29BUILDDIR="$OEROOT/build/"
30MSG='' 30MSG=''
31 31
32BUILD_ARCH=`uname -m` 32BUILD_ARCH=`uname -m`
33BUILD_OS=`uname | tr [A-Z] [a-z]` 33BUILD_OS=`uname | tr [A-Z] [a-z]`
34BUILD_SYS=$BUILD_ARCH-$BUILD_OS 34BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
35 35
36PATH=$BBDIR/bin/:$OEROOT/scripts:$PATH 36PATH="$BBDIR/bin/:$OEROOT/scripts:$PATH"
37 37
38cd $BUILDDIR 38cd "$BUILDDIR"
39 39
40# Remove any symlinks from paths 40# Remove any symlinks from paths
41BBDIR=`readlink -f $BBDIR` 41BBDIR=`readlink -f "$BBDIR"`
42PKGDIR=`readlink -f $PKGDIR` 42PKGDIR=`readlink -f "$PKGDIR"`
43BUILDDIR=`readlink -f $BUILDDIR` 43BUILDDIR=`readlink -f "$BUILDDIR"`
44 44
45if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then 45if ! (test -d "$BBDIR" && test -d "$PKGDIR" && test -d "$BUILDDIR"); then
46 echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?" 46 echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?"
47 exit 1 47 exit 1
48fi 48fi
49 49
50if ! (test -r $BUILDDIR/conf/local.conf); then 50if ! (test -r "$BUILDDIR/conf/local.conf"); then
51 cp -f $BUILDDIR/conf/local.conf.sample $BUILDDIR/conf/local.conf 51 cp -f $BUILDDIR/conf/local.conf.sample $BUILDDIR/conf/local.conf
52fi 52fi
53 53