Skip to content

Commit

Permalink
stop trying to regex it propertly
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Jun 27, 2023
1 parent 58769b2 commit 3a49509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-build-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fi
app="rustup"
app_min="1.25.2"
check_which $app $app_min
app_v=$(${app} --version 2>/dev/null)
app_v=$(${app} --version 2>/dev/null | cut -d' ' -f2)
echo -e "Checking rustup version... \c"
if [ $(echo $app_v | grep -c -E "^1\.(2(5\.[2-9]\d*|[6-9]\d*\.\d*)|[3-9]\d+\.\d+)") -eq 1 ]
then
Expand Down

0 comments on commit 3a49509

Please sign in to comment.