mirror of
https://github.com/analogdevicesinc/linux.git
synced 2026-05-30 00:55:04 +08:00
The build command is extracted from compile_commands.json via jq -r and executed via $compile_cmd. The command contains shell quoting like -DKBUILD_MODNAME='\"adrv906x_eth\"' where single quotes protect double quotes. Replace $compile_cmd with eval "$compile_cmd" so bash properly processes the quoting before executing Replace printf "$compile_cmd ..." with plain string assignment compile_cmd="$compile_cmd ..." (avoids interpreting % format specifiers) Signed-off-by: Jorge Marques <jorge.marques@analog.com>