From 0aec06973f43a3c1571b911cdcf7e5d770cdbd4d Mon Sep 17 00:00:00 2001 From: WuChang <3142324836@qq.com> Date: Wed, 31 Jul 2024 14:23:31 +0800 Subject: [PATCH] Fixed CI execuble find script result multi slash --- CIUtils/find-executable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CIUtils/find-executable.sh b/CIUtils/find-executable.sh index daf3355..9871c95 100644 --- a/CIUtils/find-executable.sh +++ b/CIUtils/find-executable.sh @@ -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=""