Whenever an output file is requested, `support/build/config-submenu`
writes the name of the target file to the console. This commit passes
this file name with quotes to `readlink` that converts it to a fully
qualified path.
Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1104
# close FD:7 and print filename
if [ ! -z "$ARG_OUT" ]; then
- printf '%s\n' "$( "${CMD_READLINK}" -f $ARG_OUT )"
+ printf '%s\n' "$( "${CMD_READLINK}" -f "${ARG_OUT}" )"
exec 7>&-
fi