From bc83fd8803ecd472af197819dc7f58e71fb1e045 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 29 Aug 2006 08:36:28 +0000 Subject: 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 --- poky-init-build-env | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'poky-init-build-env') 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 -- cgit 1.2.3-korg