From 0585fb4354e9695be3a260c3a73956c30550d93b Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:04:09 -0400 Subject: [PATCH] fix paths --- xorriso/gen_input.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xorriso/gen_input.sh b/xorriso/gen_input.sh index 05b220e..cac7882 100644 --- a/xorriso/gen_input.sh +++ b/xorriso/gen_input.sh @@ -7,7 +7,7 @@ echo "-boot_image any replay" echo "-joliet on" echo "-compliance joliet_long_names" pushd ${_BASE_DIR}/results > /dev/null -for file in $(find -type f *) +for file in $(find * -type f) do if [[ "$file" == "images/boot.iso" ]] then @@ -21,7 +21,7 @@ popd > /dev/null if [[ -n "${FLATPAK_DIR}" ]] then pushd ${FLATPAK_DIR} > /dev/null - for file in $(find -type f *) + for file in $(find * -type f) do echo "-map $(pwd)/${file} flatpak/${file}" echo "-chmod 0444 flatpak/${file}" @@ -35,8 +35,8 @@ then echo "-chmod 0444 /sb_pubkey.der" fi -pushd container > /dev/null -for file in $(find -type f ${IMAGE_NAME}-${IMAGE_TAG}) +pushd ${_BASE_DIR}/container > /dev/null +for file in $(find ${IMAGE_NAME}-${IMAGE_TAG} -type f) do echo "-map $(pwd)/${file} ${file}" echo "-chmod 0444 ${file}"