[script]flash_all simplify messages
This commit is contained in:
parent
4c8941f45b
commit
aa684f1763
@ -103,11 +103,12 @@ fi
|
|||||||
if [ $# -eq 0 ];
|
if [ $# -eq 0 ];
|
||||||
then
|
then
|
||||||
imgList=$(ls *.img 2>/dev/null)
|
imgList=$(ls *.img 2>/dev/null)
|
||||||
echo "Flashing all images in current path $imgList"
|
|
||||||
else
|
else
|
||||||
imgList=$@
|
imgList=$@
|
||||||
echo "Flashing $imgList"
|
|
||||||
fi
|
fi
|
||||||
|
echo "Images to flash: $imgList"
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$imgList" ];
|
if [ -z "$imgList" ];
|
||||||
then
|
then
|
||||||
echo "No img to Flash"
|
echo "No img to Flash"
|
||||||
|
Loading…
Reference in New Issue
Block a user