diff options
| author | Daniel Gomez <da.gomez@samsung.com> | 2026-03-10 12:36:23 +0100 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-03-11 00:37:50 -0700 |
| commit | 5f47be1b44bf2754c45e8c58ca036b474c9ecbc7 (patch) | |
| tree | 753ebdc9b9870270ab5ee06ca04b7e1df9f7efc0 /include/uapi/linux/wimax/git@git.tavy.me:linux.git | |
| parent | 3b4a3a00de8770f3a60c1fa483921ce37415132d (diff) | |
scripts: kconfig: merge_config.sh: pass output file as awk variable
The refactoring commit 5fa9b82cbcfc5 ("scripts: kconfig:
merge_config.sh: refactor from shell/sed/grep to awk") passes
$TMP_FILE.new as ARGV[3] to awk, using it as both an output destination
and an input file argument. When the base file is empty, nothing is
written to ARGV[3] during processing, so awk fails trying to open it
for reading:
awk: cmd. line:52: fatal: cannot open file
`./.tmp.config.grcQin34jb.new' for reading: No such file or directory
mv: cannot stat './.tmp.config.grcQin34jb.new': No such file or directory
Pass the output path via -v outfile instead and drop the FILENAME ==
ARGV[3] { nextfile }.
Fixes: 5fa9b82cbcfc5 ("scripts: kconfig: merge_config.sh: refactor from shell/sed/grep to awk")
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
Link: https://patch.msgid.link/20260310-fixes-merge-config-v1-1-beaeeaded6bd@samsung.com
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'include/uapi/linux/wimax/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
