File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 9191
9292# collect dependencies versions from raspberry pi os
9393if [ " $RPIOS_TYPE " = " stretch" ]; then
94- GCCBASE_VERSION=6.3.0
94+ if [ " $GCC_VERSION " == " 8.3.0" ]; then
95+ echo " $GCC_VERSION is not supported on stretch!"
96+ exit 0
97+ else
98+ GCCBASE_VERSION=6.3.0
99+ fi
95100elif [ " $RPIOS_TYPE " = " buster" ]; then
96- if echo $GCC_VERSION " 8.3.0 " | awk ' {exit ! ( $1 > $2)}' ; then
101+ if echo ${ GCC_VERSION% . * } " 8.3" | awk ' {exit ( $1 >= $2 )}' ; then
97102 echo " $GCC_VERSION is not supported on buster!"
98103 exit 0
99104 else
Original file line number Diff line number Diff line change 7272
7373
7474if [ " $RPIOS_TYPE " = " buster" ]; then
75- if echo $GCC_VERSION " 8.3.0 " | awk ' {exit ! ( $1 > $2)}' ; then
75+ if echo ${ GCC_VERSION% . * } " 8.3" | awk ' {exit ( $1 >= $2 )}' ; then
7676 echo " $GCC_VERSION is not supported on buster!"
7777 exit 0
7878 fi
You can’t perform that action at this time.
0 commit comments