Browse Source

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>
Peter Kjellerstedt 11 years ago
parent
commit
6fc14169ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/oe-setup-builddir

+ 1 - 1
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