summaryrefslogtreecommitdiff
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 0c3c572fe..decbf6a30 100755
--- a/setdevenv
+++ b/setdevenv
@@ -24,9 +24,9 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
exit 1
fi
-if !(test -r $PKGDIR/conf/local.conf); then
+if !(test -r $BUILDDIR/conf/local.conf); then
echo "Setting up initial '$PKGDIR/conf/local.conf'."
- cat $PKGDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $PKGDIR/conf/local.conf
+ cat $BUILDDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $BUILDDIR/conf/local.conf
fi
BBPATH=$BBDIR