Skip to content

Commit 0aec069

Browse files
Fixed CI execuble find script result multi slash
1 parent 6e959fb commit 0aec069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CIUtils/find-executable.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
directory=$1
1111

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

1515
# Initialize an empty string for the output
1616
output=""

0 commit comments

Comments
 (0)