build: escape whitespaces in VERSION_DIST for Netgear images
authorSven Roederer <S.Roederer@colvistec.de>
Thu, 11 May 2023 10:42:12 +0000 (12:42 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 27 May 2023 19:32:47 +0000 (21:32 +0200)
commit80a99d9cf70e5295516ec66036c8e6bbbfc8e9ee
treebd80509d60bf3a44799974f18b07505c4dbde414
parent30fca5413b5f4a3db8ba55c6d1a11db2a5337cb4
build: escape whitespaces in VERSION_DIST for Netgear images

Prevents subshell commands from failing to parse options
when having defined a whitespace in the VERSION_DIST.
As the called resulting images unlikely will handle
whitespace correctly, we replace them by "-".

Signed-off-by: Sven Roederer <S.Roederer@colvistec.de>
(cherry picked from commit 4071398b13aeee873cb5a48b00b6c90074763d5f)
include/image-commands.mk