]> code.ossystems Code Review - openembedded-core.git/commitdiff
Rename the supplied default local.conf to local.conf.sample, per mallum's request.
authorChris Larson <kergoth@openedhand.com>
Tue, 29 Aug 2006 08:36:28 +0000 (08:36 +0000)
committerChris Larson <kergoth@openedhand.com>
Tue, 29 Aug 2006 08:36:28 +0000 (08:36 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@671 311d38ba-8fff-0310-9ca6-ca027cbcb966

build/conf/local.conf.sample [moved from build/conf/local.conf with 100% similarity]
poky-init-build-env

index b8ddc64dc5a368200d6a6e945ef249a34f0d4889..c2f2c0440612b0054276b546ee401a86e23f2d82 100755 (executable)
@@ -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