[script]flash_all simplify messages

This commit is contained in:
Mathieu Maret 2016-02-18 15:44:05 +01:00
parent 4c8941f45b
commit aa684f1763

View File

@ -103,11 +103,12 @@ fi
if [ $# -eq 0 ];
then
imgList=$(ls *.img 2>/dev/null)
echo "Flashing all images in current path $imgList"
else
imgList=$@
echo "Flashing $imgList"
fi
echo "Images to flash: $imgList"
if [ -z "$imgList" ];
then
echo "No img to Flash"