diff options
Diffstat (limited to 'scripts/mkimage.sh')
-rwxr-xr-x | scripts/mkimage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh index 07ff24b26f..14fa2a60fd 100755 --- a/scripts/mkimage.sh +++ b/scripts/mkimage.sh @@ -172,7 +172,7 @@ build_profile() { if [ "$_dirty" = "yes" -o ! -e "$output_file" ]; then # Create image - output_format="${image_ext//[:\.]/}" + [ -n "$output_format" ] || output_format="${image_ext//[:\.]/}" create_image_${output_format} || { _fail="yes"; false; } if [ "$_checksum" = "yes" ]; then |