This PR fixes checking for KLAYOUT_VERSION when KLAYOUT_CMD is missing.
Currently Makefile always tries to check for KLAYOUT_VERSION but when KLAYOUT_CMD variable is empty it tries to execute invalid command and produces following error:
bash: - : invalid option
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
This PR fixes checking for
KLAYOUT_VERSION
whenKLAYOUT_CMD
is missing.Currently Makefile always tries to check for
KLAYOUT_VERSION
but whenKLAYOUT_CMD
variable is empty it tries to execute invalid command and produces following error: