aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-11-03 04:58:48 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-11-19 16:56:31 +0100
commitd9b75823a027f9e10796a43fdf65abef329409ed (patch)
treefa3900d0be4acc19c04a1640e77722a6c298783a /gen_determineargs.sh
parentgen_funcs.sh: expand_file() refactored (diff)
downloadgenkernel-d9b75823a027f9e10796a43fdf65abef329409ed.tar.gz
genkernel-d9b75823a027f9e10796a43fdf65abef329409ed.tar.bz2
genkernel-d9b75823a027f9e10796a43fdf65abef329409ed.zip
gen_determineargs.sh: determine_real_args(): Quote $KERNEL_DIR
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_determineargs.sh')
-rwxr-xr-xgen_determineargs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index dbb61c48..e8a81545 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -567,7 +567,7 @@ determine_real_args() {
if isTrue "${KERNEL_SOURCES}"
then
- if [ ! -d ${KERNEL_DIR} ]
+ if [ ! -d "${KERNEL_DIR}" ]
then
gen_die "kernel source directory \"${KERNEL_DIR}\" was not found!"
fi