Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Mar 7, 2023
1 parent 89ed68c commit 6d64868
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/update-readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ do
connector_badge="[![version](https://img.shields.io/badge/v-$versionencoded%20($release_date_encoded)-pink)]($documentation_url)"

# M1 Mac arm64 support
arm64=""
grep "${test}" ${DIR}/arm64-support-with-emulation.txt > /dev/null
if [ $? = 0 ]
then
Expand All @@ -399,7 +400,7 @@ do
arm64="![arm64](https://img.shields.io/badge/arm64-not%20working-red)"
fi

if [ -z $arm64 ]
if [ "$arm64" == "" ]
then
arm64="![arm64](https://img.shields.io/badge/arm64-native%20support-green)"
fi
Expand All @@ -410,7 +411,7 @@ do

cp $content_tmp_file $content_file
else
# M1 Mac arm64 support
arm64=""
grep "${test}" ${DIR}/arm64-support-with-emulation.txt > /dev/null
if [ $? = 0 ]
then
Expand All @@ -423,7 +424,7 @@ do
arm64="![arm64](https://img.shields.io/badge/arm64-not%20working-red)"
fi

if [ -z $arm64 ]
if [ "$arm64" == "" ]
then
arm64="![arm64](https://img.shields.io/badge/arm64-native%20support-green)"
fi
Expand Down

0 comments on commit 6d64868

Please sign in to comment.