]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-setup-builddir: Allow $OECORENOTESCONF to not exist
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 5 Apr 2013 16:59:44 +0000 (18:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Apr 2013 22:05:30 +0000 (23:05 +0100)
Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-setup-builddir

index be5811d37c10867983558c78549353c5ca35c734..591913f8bc5022273493ffbfaae18e14ec0d5e93 100755 (executable)
@@ -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