kpatch/kpatch-build
Josh Poimboeuf 042cde03b3 kpatch-build: fix "make check"
For some reason the github version of 'make check' just started
complaining about these:

shellcheck kpatch/kpatch kpatch-build/kpatch-build kpatch-build/kpatch-cc

In kpatch-build/kpatch-build line 455:
	while [[ "${filedir#$common/}" = "$filedir" ]]; do
                            ^-----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
	while [[ "${filedir#"$common"/}" = "$filedir" ]]; do

In kpatch-build/kpatch-build line 460:
	result="${result}${filedir#$common/}"
                                   ^-----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
	result="${result}${filedir#"$common"/}"

In kpatch-build/kpatch-cc line 26:
			relobj=${obj##$KPATCH_GCC_SRCDIR/}
                                      ^----------------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
			relobj=${obj##"$KPATCH_GCC_SRCDIR"/}

For more information:
  https://www.shellcheck.net/wiki/SC2295 -- Expansions inside ${..} need to b...
make: *** [Makefile:70: check] Error 1
Error: Process completed with exit code 2.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
2022-11-30 19:04:23 -08:00
..
gcc-plugins gcc-plugin: update headers for gcc-12 2022-09-27 16:41:48 -04:00
insn
Makefile kpatch/s390: Enable kpatch build support 2022-05-20 15:50:29 +02:00
create-diff-object.c create-diff-object: use errx() instead of err() 2022-11-30 12:58:31 -08:00
create-klp-module.c create-diff-object: rename "sec" -> "relasec" for rela sections 2022-05-11 17:00:25 -07:00
create-kpatch-module.c kpatch-elf: pass new ELF output file mode to kpatch_write_output_elf() 2020-09-25 09:30:13 -04:00
kpatch-build kpatch-build: fix "make check" 2022-11-30 19:04:23 -08:00
kpatch-cc kpatch-build: fix "make check" 2022-11-30 19:04:23 -08:00
kpatch-elf.c kpatch-build: for clang, use .strtab if no .shstrtab 2022-09-27 15:56:06 -04:00
kpatch-elf.h create-diff-object: move addend math to a new function 2022-05-11 17:02:04 -07:00
kpatch-intermediate.h lookup: rename 'pos' to 'sympos' 2020-04-06 15:18:58 -05:00
kpatch.h
list.h
log.h create-diff-object: use errx() instead of err() 2022-11-30 12:58:31 -08:00
lookup.c kpatch-build: use err.h instead of error.h for musl support 2022-08-05 08:52:03 +02:00
lookup.h Switch to per-file lookup table pointers. 2021-08-17 09:37:44 +02:00