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

kheaders: use standard naming for the temporary directory

If the kheaders archive generation is interrupted then this directory
may be left on disk and not ignored by git.
By using the standard naming schema for temporary files and directories
the default .gitignore and "make clean" rules will apply.

Suggested-by: Nicolas Schier <nicolas@fjasle.eu>
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Tested-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Thomas Weißschuh and committed by
Masahiro Yamada
837962ca 9c73bcfa

+1 -1
+1 -1
kernel/gen_kheaders.sh
··· 7 7 sfile="$(readlink -f "$0")" 8 8 outdir="$(pwd)" 9 9 tarfile=$1 10 - cpio_dir=$outdir/$tarfile.tmp 10 + cpio_dir=$outdir/${tarfile%/*}/.tmp_cpio_dir 11 11 12 12 dir_list=" 13 13 include/