Skip to content

Commit 2a4f17c

Browse files
authored
Update build_ios.sh
1 parent f069bcb commit 2a4f17c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/ci/build/build_ios.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ rm ./$unzip_name/commits
6464
rm ./$unzip_name/package_size_report.txt
6565
mkdir ./$unzip_name/samples
6666
mkdir ./$unzip_name/samples/API-Example
67-
if [[ $unzip_name =~ "VOICE" ]]
67+
audio_name="VOICE"
68+
if [[ $unzip_name == *$audio_name* ]]
6869
then
6970
echo "包含"
7071
cp -rf ./iOS/** ./$unzip_name/samples/API-Example

0 commit comments

Comments
 (0)