From ce75bc4b143f6a03ee84ba03e9c2ab7fd29bfe77 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 5 Dec 2012 01:26:16 +0100 Subject: [PATCH] [scripts] use -p with mkdir --- scripts/make_grub_efi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make_grub_efi.sh b/scripts/make_grub_efi.sh index c1ef150..9b15902 100755 --- a/scripts/make_grub_efi.sh +++ b/scripts/make_grub_efi.sh @@ -83,7 +83,7 @@ if [ -f "${efi_x86_64_file}" ]; then cp "${shim_dir}"/MokManager.efi "${EFI_BOOT_DIR}"/ || exit 1 # Copy the Sabayon SecureBoot certificate to a nice dir - mkdir "${CDROOT_DIR}"/SecureBoot || exit 1 + mkdir -p "${CDROOT_DIR}"/SecureBoot || exit 1 cp "${sabayon_der}" "${CDROOT_DIR}"/SecureBoot/ || exit 1 # Sign