From 7b12d8f9e9a817a6d5851ecb3e64613fd2c7d27b Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 11 Jul 2024 07:42:28 -0500 Subject: [PATCH] updated build system --- scripts/make_common.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/make_common.sh b/scripts/make_common.sh index ed096dad..94154ad0 100755 --- a/scripts/make_common.sh +++ b/scripts/make_common.sh @@ -86,8 +86,12 @@ if [ -f "${SOURCE_DIR}/post_build.sh" ]; then fi pushd "${PROJECT_DIST_DIR}" +IFS=$'\n' +set -f FILE_LIST=$(find . -type f) -for FILE in "${FILE_LIST[@]}"; do +for FILE in ${FILE_LIST}; do sha256sum ${FILE} >${FILE}.sha256 done +unset IFS +set +f popd