Skip to content

Commit 55a9ab1

Browse files
authored
ci(fix): release automation not picking up all necessary files (runfinch#1112)
Signed-off-by: Justin Alvarez <[email protected]>
1 parent 304d4dc commit 55a9ab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installer-builder/tools/extract-executables.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ updateQEMUEntitlement() {
3636

3737
#$1: the file object
3838
extractExecutables() {
39-
for file in $(ls -a "$1")
39+
for file in $(ls -1a "$1")
4040
do
4141
if [ -d "$1/$file" ];
4242
then
4343
if [[ $file != '.' && $file != '..' ]];
4444
then
4545
extractExecutables "$1/$file"
4646
fi
47-
elif [[ -x $1/$file || ($file == *.dylib && ! (-L $1/$file)) ]];
47+
elif [[ -x $1/$file || (($file == *.dylib || $file == *.dylib.*) && ! (-L $1/$file)) ]];
4848
then
4949
#extract executables from all file directory to one folder
5050
#to have the ability to merge back, rename the executables with the file path

0 commit comments

Comments
 (0)