diff --git a/doc/bin/gen_lcd_screen.sh b/doc/bin/gen_lcd_screen.sh index ef05d06..948eaf8 100755 --- a/doc/bin/gen_lcd_screen.sh +++ b/doc/bin/gen_lcd_screen.sh @@ -65,4 +65,9 @@ do done done -mv /tmp/LCD_$$.png /tmp/LCD.png +if [ "${3}" ] +then + mv /tmp/LCD_$$.png "${3}" +else + echo "Created /tmp/LCD_$$.png" +fi