summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2013-04-05 18:59:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-05 23:05:30 +0100
commit6fc14169ac0c3001e3a69eda8d07fc0ac93a15ee (patch)
tree9a2511e358be12639b176d71801bdb8e3922234d /scripts
parentb93011d3e719c46089ccdb39c60d3a9e9cfa5a14 (diff)
downloadopenembedded-core-6fc14169ac0c3001e3a69eda8d07fc0ac93a15ee.tar.gz
openembedded-core-6fc14169ac0c3001e3a69eda8d07fc0ac93a15ee.tar.bz2
openembedded-core-6fc14169ac0c3001e3a69eda8d07fc0ac93a15ee.zip
oe-setup-builddir: Allow $OECORENOTESCONF to not exist
Signed-off-by: Peter Kjellerstedt <pkj@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-setup-builddir2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index be5811d37c..591913f8bc 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