aboutsummaryrefslogtreecommitdiffstats
path: root/poky-init-build-env
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-08-29 08:36:28 +0000
committerChris Larson <kergoth@openedhand.com>2006-08-29 08:36:28 +0000
commitbc83fd8803ecd472af197819dc7f58e71fb1e045 (patch)
tree34a8e9f93fd7835905d055da4bc68b47d608bfce /poky-init-build-env
parentecb32bdee770c3ff6c73ac2a57e612872b13910f (diff)
downloadopenembedded-core-bc83fd8803ecd472af197819dc7f58e71fb1e045.tar.gz
openembedded-core-bc83fd8803ecd472af197819dc7f58e71fb1e045.tar.bz2
openembedded-core-bc83fd8803ecd472af197819dc7f58e71fb1e045.zip
Rename the supplied default local.conf to local.conf.sample, per mallum's request.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@671 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'poky-init-build-env')
-rwxr-xr-xpoky-init-build-env4
1 files changed, 4 insertions, 0 deletions
diff --git a/poky-init-build-env b/poky-init-build-env
index b8ddc64dc5..c2f2c04406 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -49,6 +49,10 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
exit 1
fi
+if ! (test -r $BUILDDIR/conf/local.conf); then
+ cp -f $BUILDDIR/conf/local.conf.sample $BUILDDIR/conf/local.conf
+fi
+
BBPATH=$BBDIR
if test x"$BBDIR" != x"$PKGDIR"; then
BBPATH=$PKGDIR:$BBPATH