commit: 47462f4dc4a9164cd546d6e2be953f38a450996d Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Jul 21 18:28:51 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Jul 21 18:31:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=47462f4d
Rename --tempdir option to --tmpdir to match used variable name Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> doc/genkernel.8.txt | 2 +- gen_cmdline.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt index e741a72..72029d6 100644 --- a/doc/genkernel.8.txt +++ b/doc/genkernel.8.txt @@ -398,7 +398,7 @@ INTERNALS *--*[*no-*]*clear-cachedir*:: Clears or skips clearing all files in cache location on genkernel start. -*--tempdir*=<dir>:: +*--tmpdir*=<dir>:: Sets genkernel's temporary working directory to <dir>. *--*[*no-*]*postclear*:: diff --git a/gen_cmdline.sh b/gen_cmdline.sh index 247a674..a05e277 100755 --- a/gen_cmdline.sh +++ b/gen_cmdline.sh @@ -172,7 +172,7 @@ longusage() { echo " if you want to force rebuild of included tools" echo " like BusyBox, DMRAID, GnuPG, LVM, MDADM ..." echo " --no-clear-cachedir Do not clean up on genkernel start" - echo " --tempdir=<dir> Location of genkernel's temporary directory" + echo " --tmpdir=<dir> Location of genkernel's temporary directory" echo " --postclear Clear all tmp files and caches after genkernel has run" echo " --no-postclear Do not clean up after genkernel has run" echo " Output Settings" @@ -593,7 +593,7 @@ parse_cmdline() { CMD_STATIC=$(parse_optbool "$*") print_info 3 "CMD_STATIC: ${CMD_STATIC}" ;; - --tempdir=*) + --tmpdir=*) CMD_TMPDIR="${*#*=}" print_info 3 "CMD_TMPDIR: ${CMD_TMPDIR}" ;;