From dc03cf21296d75e23698f2e078b51cbd2e69090d Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Thu, 1 Aug 2024 20:27:08 +0300 Subject: [PATCH] fix trailing slash issue with mtools --- .github/push-iso | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/push-iso b/.github/push-iso index 7273c0f..6f4247a 100644 --- a/.github/push-iso +++ b/.github/push-iso @@ -1 +1 @@ -25 +26 diff --git a/build.sh b/build.sh index fee2863..18c3625 100755 --- a/build.sh +++ b/build.sh @@ -64,7 +64,7 @@ dd if=/dev/zero of="$LIVE_BOOT_PATH/efiboot.img" bs=1M count=20 mkfs.msdos -F 16 "$LIVE_BOOT_PATH/efiboot.img" for directory in $(find ./data/refind/EFI/ -type d | cut -d'/' -f4-) do - mmd -i "$LIVE_BOOT_PATH/efiboot.img" ::"$(echo $directory | tr '[:lower:]' '[:upper:]')" + mmd -i "$LIVE_BOOT_PATH/efiboot.img" ::"$(echo $directory | tr '[:lower:]' '[:upper:]' | sed 's:/*$::')" done for file in $(find ./data/refind/EFI/ -type f | cut -d'/' -f4-)