Commit f0b8baf
committed
ci: build: Fix quoting of extracted commands
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>1 parent 4d99c91 commit f0b8baf
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
897 | 897 | | |
898 | | - | |
| 898 | + | |
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
980 | | - | |
| 980 | + | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
| |||
0 commit comments