diff options
author | Chris Larson <kergoth@openedhand.com> | 2006-08-29 08:36:28 +0000 |
---|---|---|
committer | Chris Larson <kergoth@openedhand.com> | 2006-08-29 08:36:28 +0000 |
commit | bc83fd8803ecd472af197819dc7f58e71fb1e045 (patch) | |
tree | 34a8e9f93fd7835905d055da4bc68b47d608bfce /poky-init-build-env | |
parent | ecb32bdee770c3ff6c73ac2a57e612872b13910f (diff) | |
download | openembedded-core-bc83fd8803ecd472af197819dc7f58e71fb1e045.tar.gz openembedded-core-bc83fd8803ecd472af197819dc7f58e71fb1e045.tar.bz2 openembedded-core-bc83fd8803ecd472af197819dc7f58e71fb1e045.tar.xz 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-x | poky-init-build-env | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/poky-init-build-env b/poky-init-build-env index b8ddc64dc..c2f2c0440 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 |