Before displaying the content of the 'build-info' file, we have to check
if this file exists.
Change-Id: I029e9ca65a182724ce447c6e1d69db246a681dc9
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
cd $REPODIR
#cat build-info
-cat tmp/deploy/images/${TARGETMACHINE}/build-info
-source tmp/deploy/images/${TARGETMACHINE}/build-info
+if [ -e tmp/deploy/images/${TARGETMACHINE}/build-info ]; then
+ cat tmp/deploy/images/${TARGETMACHINE}/build-info
+ source tmp/deploy/images/${TARGETMACHINE}/build-info
+fi
echo "# LAVA lab target: ${LAVA_LAB} #"
# releng-scripts depends on jinja2 >= 2.9