[oe-commits] Peter Kjellerstedt : oe-setup-builddir: Allow $OECORENOTESCONF to not exist

git at git.openembedded.org git at git.openembedded.org
Fri Apr 5 22:02:59 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 6fc14169ac0c3001e3a69eda8d07fc0ac93a15ee
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6fc14169ac0c3001e3a69eda8d07fc0ac93a15ee

Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Date:   Fri Apr  5 18:59:44 2013 +0200

oe-setup-builddir: Allow $OECORENOTESCONF to not exist

Signed-off-by: Peter Kjellerstedt <pkj at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/oe-setup-builddir |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index be5811d..591913f 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -118,5 +118,5 @@ EOM
 if [ "x" = "x$OECORENOTESCONF" ]; then
     OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt"
 fi
-cat $OECORENOTESCONF
+[ ! -r "$OECORENOTESCONF" ] || cat $OECORENOTESCONF
 unset OECORENOTESCONF





More information about the Openembedded-commits mailing list