summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-22 09:59:20 +0100
committerRemi Collet <remi@php.net>2024-02-22 09:59:20 +0100
commit14033dca8c6f4115e8030bd4a738a2e0702a44fb (patch)
tree0427c977934add3df9f59ffdb754995d3c505d29 /getmock
parent5210ceb6f5b66409204afa233d1ca2db1eb8827a (diff)
another small improv. for allphp
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock10
1 files changed, 7 insertions, 3 deletions
diff --git a/getmock b/getmock
index 1c2ec74..a20ec43 100755
--- a/getmock
+++ b/getmock
@@ -757,13 +757,17 @@ elif [ $1 = scl72 ]; then
getOneMock scl72el8a $opt
elif [ $1 = allphp ]; then
-
+ LOG=$(mktemp out.XXXXXXXXXX)
MOD="all54 all55 all56 all70 all71 all72 all73 all74 all80 all81 all82 all83"
SCL="scl54 scl55 scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83"
for i in $SCL $MOD
- do $0 $i $opt
- echo -en "\n> $i - [enter] >"; read rep
+ do $0 $i $opt | tee $LOG
+ if grep -q '64\.rpm' $LOG && grep -q 'Aucun' $LOG
+ then
+ echo -en "\n> $i - [enter] >"; read rep
+ fi
done
+ rm -f $LOG
else
for i in $*
do