diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-28 22:38:28 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-28 22:38:28 +0100 |
commit | fe729696c3814267d039d2aad23888acf80b9ede (patch) | |
tree | a0df32b9d00a5eb97e0ca77406c8b28b9c3d8d42 /gen_compile.sh | |
parent | Rename get_KV() to determine_KV() (diff) | |
download | genkernel-fe729696c3814267d039d2aad23888acf80b9ede.tar.gz genkernel-fe729696c3814267d039d2aad23888acf80b9ede.tar.bz2 genkernel-fe729696c3814267d039d2aad23888acf80b9ede.zip |
compile_gen_init_cpio(): use 'mkdir -p' when creating $KERNEL_OUTPUTDIR/usr
This is usually only required for users using genkernel to create initramfs without
building kernel but it doesn't hurt.
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-x | gen_compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_compile.sh b/gen_compile.sh index 1c29360f..93c2af44 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -251,7 +251,7 @@ compile_gen_init_cpio() { print_info 1 "$(getIndent 2)>> Compiling gen_init_cpio..." [ ! -e "${gen_init_cpio_SRC}" ] && gen_die "'${gen_init_cpio_SRC}' is missing. Cannot compile gen_init_cpio!" - [ ! -d "${gen_init_cpio_DIR}" ] && mkdir "${gen_init_cpio_DIR}" + [ ! -d "${gen_init_cpio_DIR}" ] && mkdir -p "${gen_init_cpio_DIR}" || gen_die "failed to create '${gen_init_cpio_DIR}'!" export_utils_args |