From a3a57757786f129f59ff39c82a76597d9daf21d0 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:00:37 +0000 Subject: [PATCH] find based on original path --- scripts/gen_xorriso.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gen_xorriso.sh b/scripts/gen_xorriso.sh index c54ca93..f0f66da 100644 --- a/scripts/gen_xorriso.sh +++ b/scripts/gen_xorriso.sh @@ -6,10 +6,10 @@ echo "-boot_image any replay" echo "-volid Fedora-S-dvd-x86_64-39" echo "-joliet on" echo "-compliance joliet_long_names" -cache_files=$(find registry_cache) +cache_files=$(find /registry_cache) for file in ${cache_files} do - echo "-map $(pwd)/${file} ${file}" + echo "-map $(pwd)${file} ${file}" echo "-chmod 0444 ${file}" done echo "-end" \ No newline at end of file