[OE-core] [PATCH 1/3] oe-setup-builddir: Allow $OECORENOTESCONF to not exist
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Fri Apr 5 16:59:44 UTC 2013
Signed-off-by: Peter Kjellerstedt <pkj at axis.com>
---
scripts/oe-setup-builddir | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 76e1778..d5d8d98 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
--
1.7.11.7
More information about the Openembedded-core
mailing list