Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kheaders: double-quote variables to satisfy shellcheck

Fix the following:

In kernel/gen_kheaders.sh line 48:
-I $XZ -cf $tarfile -C "${tmpdir}/" . > /dev/null
^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
kernel/gen_kheaders.sh
··· 45 45 # Create archive and try to normalize metadata for reproducibility. 46 46 tar "${timestamp:+--mtime=$timestamp}" \ 47 47 --owner=0 --group=0 --sort=name --numeric-owner --mode=u=rw,go=r,a+X \ 48 - -I $XZ -cf $tarfile -C "${tmpdir}/" . > /dev/null 48 + -I "${XZ}" -cf "${tarfile}" -C "${tmpdir}/" . > /dev/null 49 49 50 50 rm -rf "${tmpdir}"