From 6f29b638e9a59526f37871dbc671de16e91418db Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Tue, 17 Oct 2023 10:17:42 +0530 Subject: [PATCH] fix typo --- create-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-image.sh b/create-image.sh index a86c9ec..ae2b53a 100755 --- a/create-image.sh +++ b/create-image.sh @@ -23,8 +23,8 @@ function create_new_image { LOOPBACK_01=$(losetup -f -P --show "${IMAGE_NAME}") LOOPBACK_02=$(losetup -f -P --show "${NEW_IMAGE_NAME}") - UEFI_SECTORS="$(fdisk -l "${LOOPBACK_02}" | grep "${LOOPBACK_02}p1" | awk '{print $4}')" - BOOT_SECTORS="$(fdisk -l "${LOOPBACK_02}" | grep "${LOOPBACK_02}p2" | awk '{print $4}')" + UEFI_SECTORS="$(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p1" | awk '{print $4}')" + BOOT_SECTORS="$(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p2" | awk '{print $4}')" cat << EOF | fdisk "${LOOPBACK_02}" g