Skip to content

Commit

Permalink
ci(fix): release automation not picking up all necessary files (#1112)
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
  • Loading branch information
pendo324 authored Sep 25, 2024
1 parent 304d4dc commit 55a9ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer-builder/tools/extract-executables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ updateQEMUEntitlement() {

#$1: the file object
extractExecutables() {
for file in $(ls -a "$1")
for file in $(ls -1a "$1")
do
if [ -d "$1/$file" ];
then
if [[ $file != '.' && $file != '..' ]];
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
Expand Down

0 comments on commit 55a9ab1

Please sign in to comment.