From 0b785c4e4bd7d922d160ac0e62180a7ce310efec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Barroso=20Galindo?= Date: Sat, 27 Nov 2021 15:47:59 +0100 Subject: [PATCH] Update update_distribution.sh --- .github/update_distribution.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/update_distribution.sh b/.github/update_distribution.sh index d93acea74..d5472e2d2 100755 --- a/.github/update_distribution.sh +++ b/.github/update_distribution.sh @@ -422,8 +422,8 @@ install_shadow_masks() { echo "Installing Shadow Masks ${4}" - for file in $(ls "${TMP_FOLDER}" | grep .txt) ; do - copy_file "${TMP_FOLDER}/${file}" "${TARGET_DIR}/Shadow_Masks/${file}" + for file in $(find "${TMP_FOLDER}" -iname '*.txt' -print) ; do + copy_file "${file}" "${TARGET_DIR}/Shadow_Masks/${file}" done }