Skip to content

Commit

Permalink
Fixed CI execuble find script result multi slash
Browse files Browse the repository at this point in the history
  • Loading branch information
FangCunWuChang committed Jul 31, 2024
1 parent 6e959fb commit 0aec069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CIUtils/find-executable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
directory=$1

# Find ELF, Mach-O and Universal Binary files in the specified directory
files=$(find "$directory" -type f -exec sh -c 'file -b "$1" | grep -qE "ELF|Mach-O|universal binary" && echo "$1"' _ {} \;)
files=$(find "$directory" -type f -exec sh -c 'file -b "$1" | grep -qE "ELF|Mach-O|universal binary" && echo "$1" | sed "s:/\{1,\}:/:g"' _ {} \;)

# Initialize an empty string for the output
output=""
Expand Down

0 comments on commit 0aec069

Please sign in to comment.