From 55a9ab14e8963ddf0e0e6a99749089c804ab64e2 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 24 Sep 2024 20:17:16 -0400 Subject: [PATCH] ci(fix): release automation not picking up all necessary files (#1112) Signed-off-by: Justin Alvarez --- installer-builder/tools/extract-executables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer-builder/tools/extract-executables.sh b/installer-builder/tools/extract-executables.sh index 5719f615f..57e6455b2 100755 --- a/installer-builder/tools/extract-executables.sh +++ b/installer-builder/tools/extract-executables.sh @@ -36,7 +36,7 @@ updateQEMUEntitlement() { #$1: the file object extractExecutables() { - for file in $(ls -a "$1") + for file in $(ls -1a "$1") do if [ -d "$1/$file" ]; then @@ -44,7 +44,7 @@ extractExecutables() { then extractExecutables "$1/$file" fi - elif [[ -x $1/$file || ($file == *.dylib && ! (-L $1/$file)) ]]; + elif [[ -x $1/$file || (($file == *.dylib || $file == *.dylib.*) && ! (-L $1/$file)) ]]; then #extract executables from all file directory to one folder #to have the ability to merge back, rename the executables with the file path