From 8d0d962447602473ab36ad8bfb5c78ad09a78de9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 11 Sep 2020 15:03:11 +0200 Subject: build helper for php 8 --- getmock | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) (limited to 'getmock') diff --git a/getmock b/getmock index d779abf..9878657 100755 --- a/getmock +++ b/getmock @@ -72,6 +72,16 @@ el8x74) fi type=enterprise ;; +el8x80) + dep=8 + if [ "$2" == "php80" -o "$2" == "test80" ] + then rep=$rep + elif [ "$2" == "remi" ] + then rep=php80 + else rep=${2}80 + fi + type=enterprise + ;; el*) dep=${dep#el} type=enterprise ;; @@ -283,10 +293,6 @@ if [ $1 = devs -o $1 = dev ]; then fi if [ $1 = all ]; then - for i in 30 - do - getOneMock fc${i}i $opt - done for i in 6 do getOneMock el${i}i $opt @@ -348,11 +354,13 @@ elif [ $1 = all73 ]; then elif [ $1 = all74 ]; then [ $opt = remi ] && opt=php74 [ $opt = test ] && opt=test74 - for n in 30 - do - getOneMock fc${n}i $opt '*7.4*' - getOneMock fc${n}x $opt '*7.4*' - done + getOneMock fc31x $opt '*7.4*' + getOneMock el7x $opt '*7.4*' + getOneMock el8x74 $opt '*7.4*' + +elif [ $1 = all80 ]; then + [ $opt = remi ] && opt=php74 + [ $opt = test ] && opt=test74 getOneMock fc31x $opt '*7.4*' getOneMock el7x $opt '*7.4*' getOneMock el8x74 $opt '*7.4*' @@ -379,7 +387,7 @@ elif [ $1 = for55 ]; then done elif [ $1 = allx ]; then - for i in 30 31 32 33 + for i in 31 32 33 do getOneMock fc${i}x $opt done @@ -401,7 +409,7 @@ elif [ $1 = scl55 ]; then done elif [ $1 = scl56 ]; then - for i in 33 30 31 32 + for i in 33 31 32 do getOneMock scl56fc${i}x $opt done @@ -411,7 +419,7 @@ elif [ $1 = scl56 ]; then done elif [ $1 = scl70 ]; then - for i in 30 31 32 33 + for i in 31 32 33 do getOneMock scl70fc${i}x $opt done @@ -421,7 +429,7 @@ elif [ $1 = scl70 ]; then done elif [ $1 = scl71 ]; then - for i in 30 31 32 33 + for i in 31 32 33 do getOneMock scl71fc${i}x $opt done @@ -441,7 +449,7 @@ elif [ $1 = scl80 ]; then done elif [ $1 = scl74 ]; then - for i in 30 31 32 33 + for i in 31 32 33 do getOneMock scl74fc${i}x $opt done @@ -451,7 +459,7 @@ elif [ $1 = scl74 ]; then done elif [ $1 = scl73 ]; then - for i in 30 31 32 33 + for i in 31 32 33 do getOneMock scl73fc${i}x $opt done @@ -461,7 +469,7 @@ elif [ $1 = scl73 ]; then done elif [ $1 = scl72 ]; then - for i in 30 31 32 33 + for i in 31 32 33 do getOneMock scl72fc${i}x $opt done -- cgit