summaryrefslogtreecommitdiffstats
path: root/setdevenv
diff options
context:
space:
mode:
Diffstat (limited to 'setdevenv')
-rwxr-xr-xsetdevenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/setdevenv b/setdevenv
index 0c3c572fe0..decbf6a30f 100755
--- a/setdevenv
+++ b/setdevenv
@@ -24,9 +24,9 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
24 exit 1 24 exit 1
25fi 25fi
26 26
27if !(test -r $PKGDIR/conf/local.conf); then 27if !(test -r $BUILDDIR/conf/local.conf); then
28 echo "Setting up initial '$PKGDIR/conf/local.conf'." 28 echo "Setting up initial '$PKGDIR/conf/local.conf'."
29 cat $PKGDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $PKGDIR/conf/local.conf 29 cat $BUILDDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $BUILDDIR/conf/local.conf
30fi 30fi
31 31
32BBPATH=$BBDIR 32BBPATH=$BBDIR