From ce9a68a77f7db69ae14b77c6d791a6d0eeb5d874 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Thu, 1 Aug 2024 20:35:10 +0300 Subject: [PATCH] fix bad pathing --- .github/push-iso | 2 +- build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/push-iso b/.github/push-iso index 6f4247a..f64f5d8 100644 --- a/.github/push-iso +++ b/.github/push-iso @@ -1 +1 @@ -26 +27 diff --git a/build.sh b/build.sh index 18c3625..7ca6567 100755 --- a/build.sh +++ b/build.sh @@ -67,9 +67,9 @@ do 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-) +for file in $(find ./data/refind/EFI/ -type f) do - mcopy -i "$LIVE_BOOT_PATH/efiboot.img" $file ::"$(echo $file | tr '[:lower:]' '[:upper:]')" + mcopy -i "$LIVE_BOOT_PATH/efiboot.img" $file ::"$(echo $file | cut -d'/' -f4- | tr '[:lower:]' '[:upper:]')" done # Create Bootable UEFI Full Image