summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock519
1 files changed, 355 insertions, 164 deletions
diff --git a/getmock b/getmock
index 329b1a2..e880e0c 100755
--- a/getmock
+++ b/getmock
@@ -17,6 +17,12 @@ esac
rep=${2-remi}
case $dep in
+scl84el*) dep=${dep#scl84el}
+ type=enterprise
+ ;;
+scl83el*) dep=${dep#scl83el}
+ type=enterprise
+ ;;
scl82el*) dep=${dep#scl82el}
type=enterprise
;;
@@ -44,103 +50,147 @@ scl70el*) dep=${dep#scl70el}
scl56el*) dep=${dep#scl56el}
type=enterprise
;;
-scl55el*) dep=${dep#scl55el}
+el??72)
+ dep=${1:2:1}
+ if [ "$2" == "php72" -o "$2" == "test72" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php72
+ else rep=${2}72
+ fi
type=enterprise
;;
-scl54el*) dep=${dep#scl54el}
+el??73)
+ dep=${1:2:1}
+ if [ "$2" == "php73" -o "$2" == "test73" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php73
+ else rep=${2}73
+ fi
type=enterprise
;;
-el?x55)
+el??74)
dep=${1:2:1}
- if [ "$2" == "php55" -o "$2" == "test55" ]
+ if [ "$2" == "php74" -o "$2" == "test74" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php55
- else rep=${2}55
+ then rep=php74
+ else rep=${2}74
fi
type=enterprise
;;
-el?x56)
- dep=${1:2:1}
- if [ "$2" == "php56" -o "$2" == "test56" ]
+el???74)
+ dep=${1:2:2}
+ if [ "$2" == "php74" -o "$2" == "test74" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php56
- else rep=${2}56
+ then rep=php74
+ else rep=${2}74
fi
type=enterprise
;;
-el?x70)
+el??80)
dep=${1:2:1}
- if [ "$2" == "php70" -o "$2" == "test70" ]
+ if [ "$2" == "php80" -o "$2" == "test80" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php70
- else rep=${2}70
+ then rep=php80
+ else rep=${2}80
fi
type=enterprise
;;
-el?x71)
- dep=${1:2:1}
- if [ "$2" == "php71" -o "$2" == "test71" ]
+el???80)
+ dep=${1:2:2}
+ if [ "$2" == "php80" -o "$2" == "test80" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php71
- else rep=${2}71
+ then rep=php80
+ else rep=${2}80
fi
type=enterprise
;;
-el?x72)
+el??81)
dep=${1:2:1}
- if [ "$2" == "php72" -o "$2" == "test72" ]
+ if [ "$2" == "php81" -o "$2" == "test81" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php72
- else rep=${2}72
+ then rep=php81
+ else rep=${2}81
fi
type=enterprise
;;
-el?x73)
- dep=${1:2:1}
- if [ "$2" == "php73" -o "$2" == "test73" ]
+el???81)
+ dep=${1:2:2}
+ if [ "$2" == "php81" -o "$2" == "test81" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php73
- else rep=${2}73
+ then rep=php81
+ else rep=${2}81
fi
type=enterprise
;;
-el??74)
+el??82)
dep=${1:2:1}
- if [ "$2" == "php74" -o "$2" == "test74" ]
+ if [ "$2" == "php82" -o "$2" == "test82" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php74
- else rep=${2}74
+ then rep=php82
+ else rep=${2}82
fi
type=enterprise
;;
-el??80)
+el???82)
+ dep=${1:2:2}
+ if [ "$2" == "php82" -o "$2" == "test82" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php82
+ else rep=${2}82
+ fi
+ type=enterprise
+ ;;
+el??83)
dep=${1:2:1}
- if [ "$2" == "php80" -o "$2" == "test80" ]
+ if [ "$2" == "php83" -o "$2" == "test83" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php80
- else rep=${2}80
+ then rep=php83
+ else rep=${2}83
fi
type=enterprise
;;
-el??81)
+el???83)
+ dep=${1:2:2}
+ if [ "$2" == "php83" -o "$2" == "test83" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php83
+ else rep=${2}83
+ fi
+ type=enterprise
+ ;;
+el??84)
dep=${1:2:1}
- if [ "$2" == "php81" -o "$2" == "test81" ]
+ if [ "$2" == "php84" -o "$2" == "test84" ]
then rep=$rep
elif [ "$2" == "remi" ]
- then rep=php81
- else rep=${2}81
+ then rep=php84
+ else rep=${2}84
+ fi
+ type=enterprise
+ ;;
+el???84)
+ dep=${1:2:2}
+ if [ "$2" == "php84" -o "$2" == "test84" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php84
+ else rep=${2}84
fi
type=enterprise
;;
-fc??x74)
+fc???74)
dep=${1:2:2}
if [ "$2" == "php74" -o "$2" == "test74" ]
then rep=$rep
@@ -150,7 +200,7 @@ fc??x74)
fi
type=fedora
;;
-fc??x80)
+fc???80)
dep=${1:2:2}
if [ "$2" == "php80" -o "$2" == "test80" ]
then rep=$rep
@@ -160,7 +210,7 @@ fc??x80)
fi
type=fedora
;;
-fc??x81)
+fc???81)
dep=${1:2:2}
if [ "$2" == "php81" -o "$2" == "test81" ]
then rep=$rep
@@ -170,43 +220,58 @@ fc??x81)
fi
type=fedora
;;
-el*) dep=${dep#el}
- type=enterprise
- ;;
-fc*) dep=${dep#fc}
- type=fedora
- ;;
-scl82fc*) dep=${dep#scl82fc}
+fc???82)
+ dep=${1:2:2}
+ if [ "$2" == "php82" -o "$2" == "test82" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php82
+ else rep=${2}82
+ fi
type=fedora
;;
-scl81fc*) dep=${dep#scl81fc}
+fc???83)
+ dep=${1:2:2}
+ if [ "$2" == "php83" -o "$2" == "test83" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php83
+ else rep=${2}83
+ fi
type=fedora
;;
-scl80fc*) dep=${dep#scl80fc}
+fc???84)
+ dep=${1:2:2}
+ if [ "$2" == "php84" -o "$2" == "test84" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php84
+ else rep=${2}84
+ fi
type=fedora
;;
-scl74fc*) dep=${dep#scl74fc}
- type=fedora
+el*) dep=${dep#el}
+ type=enterprise
;;
-scl73fc*) dep=${dep#scl73fc}
+fc*) dep=${dep#fc}
type=fedora
;;
-scl72fc*) dep=${dep#scl72fc}
+scl84fc*) dep=${dep#scl84fc}
type=fedora
;;
-scl71fc*) dep=${dep#scl71fc}
+scl83fc*) dep=${dep#scl83fc}
type=fedora
;;
-scl70fc*) dep=${dep#scl70fc}
+scl82fc*) dep=${dep#scl82fc}
type=fedora
;;
-scl56fc*) dep=${dep#scl56fc}
+scl81fc*) dep=${dep#scl81fc}
type=fedora
;;
-scl55fc*) dep=${dep#scl55fc}
+scl80fc*) dep=${dep#scl80fc}
type=fedora
;;
-scl54fc*) dep=${dep#scl54fc}
+scl74fc*) dep=${dep#scl74fc}
type=fedora
;;
*) echo Connais pas $dep
@@ -220,7 +285,7 @@ then
debug=$type/$dep/debug-$rep/
else
echo "$1 n'est pas un dépôt ($type/$dep/$rep)"
- exit 2
+ return
fi
if [ -d /var/lib/mock/${1}/repodata ]; then
@@ -232,8 +297,8 @@ elif [ -d /var/lib/mock/${1}i/result ]; then
elif [ -d /var/lib/mock/$1/result ]; then
src=/var/lib/mock/$1/result
else
- echo "$1 n'est pas un dossier mock"
- exit 2
+ echo "$1 n'est pas un dossier mock (missing repodata or result)"
+ return
fi
echo Copie de $src vers $cible
@@ -260,6 +325,34 @@ do
cp $i priv/el9.x86_64 && echo + $i copied priv EL9
fi
;;
+ remi-crypto*el10*)
+ if [ -f priv/el10.x86_64/$j ]; then
+ echo " " $i already there
+ else
+ cp $i priv/el10.x86_64 && echo + $i copied priv EL10
+ fi
+ ;;
+ remi-crypto*fc41*)
+ if [ -f priv/fc41.x86_64/$j ]; then
+ echo " " $i already there
+ else
+ cp $i priv/fc41.x86_64 && echo + $i copied priv FC41
+ fi
+ ;;
+ remi-crypto*fc42*)
+ if [ -f priv/fc42.x86_64/$j ]; then
+ echo " " $i already there
+ else
+ cp $i priv/fc42.x86_64 && echo + $i copied priv FC42
+ fi
+ ;;
+ remi-crypto*fc40*)
+ if [ -f priv/fc40.x86_64/$j ]; then
+ echo " " $i already there
+ else
+ cp $i priv/fc40.x86_64 && echo + $i copied priv FC40
+ fi
+ ;;
*-debuginfo-*aarch64.rpm|*-debugsource-*aarch64.rpm)
if [ -f ${debug}aarch64/$j ]; then
echo " " $i already there
@@ -341,6 +434,9 @@ fi
echo -e "\n\n\n---------------------------------------\n\n\n"
opt=remi
+if [ $1 = remi ]; then
+ shift
+fi
if [ $1 = test ]; then
opt=test
shift
@@ -386,11 +482,7 @@ if [ $1 = devs -o $1 = dev ]; then
shift
fi
-if [ $1 = all55 ]; then
- n=7
- getOneMock el${n}x55 php55 '*5.5*'
-
-elif [ $1 = all56 ]; then
+if [ $1 = all56 ]; then
n=7
getOneMock el${n}x56 php56 '*5.6*'
@@ -409,183 +501,282 @@ elif [ $1 = all71 ]; then
elif [ $1 = all72 ]; then
[ $opt = remi ] && opt=php72
[ $opt = test ] && opt=test72
- getOneMock el7x72 $opt '*7.2*'
getOneMock el8x72 $opt '*7.2*'
+ getOneMock el8a72 $opt '*7.2*'
elif [ $1 = all73 ]; then
[ $opt = remi ] && opt=php73
[ $opt = test ] && opt=test73
- getOneMock el7x73 $opt '*7.3*'
getOneMock el8x73 $opt '*7.3*'
+ getOneMock el8a73 $opt '*7.3*'
elif [ $1 = all74 ]; then
- getOneMock fc34x $opt '*7.4*'
[ $opt = remi ] && opt=php74
[ $opt = test ] && opt=test74
- getOneMock fc35x74 $opt '*7.4*'
- getOneMock fc36x74 $opt '*7.4*'
- getOneMock el7x74 $opt '*7.4*'
+ getOneMock fc42x74 $opt '*7.4*'
+ getOneMock fc42a74 $opt '*7.4*'
+ getOneMock fc40x74 $opt '*7.4*'
+ getOneMock fc40a74 $opt '*7.4*'
+ getOneMock fc41x74 $opt '*7.4*'
+ getOneMock fc41a74 $opt '*7.4*'
getOneMock el8x74 $opt '*7.4*'
+ getOneMock el8a74 $opt '*7.4*'
getOneMock el9x74 $opt '*7.4*'
+ getOneMock el9a74 $opt '*7.4*'
+ getOneMock el10x74 $opt '*7.4*'
+ getOneMock el10a74 $opt '*7.4*'
elif [ $1 = all80 ]; then
- getOneMock fc35x $opt '*8.0*'
[ $opt = remi ] && opt=php80
[ $opt = test ] && opt=test80
- getOneMock fc34x80 $opt '*8.0*'
- getOneMock fc36x80 $opt '*8.0*'
- getOneMock el7x80 $opt '*8.0*'
+ getOneMock fc42x80 $opt '*8.0*'
+ getOneMock fc42a80 $opt '*8.0*'
+ getOneMock fc40x80 $opt '*8.0*'
+ getOneMock fc40a80 $opt '*8.0*'
+ getOneMock fc41x80 $opt '*8.0*'
+ getOneMock fc41a80 $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
+ getOneMock el8a80 $opt '*8.0*'
getOneMock el9x80 $opt '*8.0*'
+ getOneMock el9a80 $opt '*8.0*'
+ getOneMock el10x80 $opt '*8.0*'
+ getOneMock el10a80 $opt '*8.0*'
elif [ $1 = all81 ]; then
[ $opt = remi ] && opt=php81
[ $opt = test ] && opt=test81
- getOneMock fc34x81 $opt '*8.1*'
- getOneMock fc35x81 $opt '*8.1*'
- getOneMock fc36x81 $opt '*8.1*'
- getOneMock el7x81 $opt '*8.1*'
+ getOneMock fc42x81 $opt '*8.1*'
+ getOneMock fc42a81 $opt '*8.1*'
+ getOneMock fc40x81 $opt '*8.1*'
+ getOneMock fc40a81 $opt '*8.1*'
+ getOneMock fc41x81 $opt '*8.1*'
+ getOneMock fc41a81 $opt '*8.1*'
getOneMock el8x81 $opt '*8.1*'
+ getOneMock el8a81 $opt '*8.1*'
getOneMock el9x81 $opt '*8.1*'
+ getOneMock el9a81 $opt '*8.1*'
+ getOneMock el10x81 $opt '*8.1*'
+ getOneMock el10a81 $opt '*8.1*'
+
+elif [ $1 = all82 ]; then
+ [ $opt = remi ] && opt=php82
+ [ $opt = test ] && opt=test82
+ getOneMock fc42x82 $opt '*8.2*'
+ getOneMock fc42a82 $opt '*8.2*'
+ getOneMock fc40x82 $opt '*8.2*'
+ getOneMock fc40a82 $opt '*8.2*'
+ getOneMock fc41x82 $opt '*8.2*'
+ getOneMock fc41a82 $opt '*8.2*'
+ getOneMock el8x82 $opt '*8.2*'
+ getOneMock el8a82 $opt '*8.2*'
+ getOneMock el9x82 $opt '*8.2*'
+ getOneMock el9a82 $opt '*8.2*'
+ getOneMock el10x82 $opt '*8.2*'
+ getOneMock el10a82 $opt '*8.2*'
+
+elif [ $1 = all83 ]; then
+ [ $opt = remi ] && opt=php83
+ [ $opt = test ] && opt=test83
+ getOneMock fc42x83 $opt '*8.3*'
+ getOneMock fc42a83 $opt '*8.3*'
+ getOneMock fc40x83 $opt '*8.3*'
+ getOneMock fc40a83 $opt '*8.3*'
+ getOneMock fc41x83 $opt '*8.3*'
+ getOneMock fc41a83 $opt '*8.3*'
+ getOneMock el8x83 $opt '*8.3*'
+ getOneMock el8a83 $opt '*8.3*'
+ getOneMock el9x83 $opt '*8.3*'
+ getOneMock el9a83 $opt '*8.3*'
+ getOneMock el10x83 $opt '*8.3*'
+ getOneMock el10a83 $opt '*8.3*'
+
+elif [ $1 = all84 ]; then
+ [ $opt = remi ] && opt=php84
+ [ $opt = test ] && opt=test84
+ getOneMock fc42x84 $opt '*8.4*'
+ getOneMock fc42a84 $opt '*8.4*'
+ getOneMock fc40x84 $opt '*8.4*'
+ getOneMock fc40a84 $opt '*8.4*'
+ getOneMock fc41x84 $opt '*8.4*'
+ getOneMock fc41a84 $opt '*8.4*'
+ getOneMock el8x84 $opt '*8.4*'
+ getOneMock el8a84 $opt '*8.4*'
+ getOneMock el9x84 $opt '*8.4*'
+ getOneMock el9a84 $opt '*8.4*'
+ getOneMock el10x84 $opt '*8.4*'
+ getOneMock el10a84 $opt '*8.4*'
+
+elif [ $1 = allr60 ]; then
+ opt=redis60
+ getOneMock fc40x $opt '*6.0*'
+ getOneMock fc40a $opt '*6.0*'
+ getOneMock el8x $opt '*6.0*'
+ getOneMock el8a $opt '*6.0*'
+ getOneMock el9x $opt '*6.0*'
+ getOneMock el9a $opt '*6.0*'
+
+elif [ $1 = allr62 ]; then
+ opt=redis62
+ getOneMock fc40x $opt '*6.2*'
+ getOneMock fc40a $opt '*6.2*'
+ getOneMock el8x $opt '*6.2*'
+ getOneMock el8a $opt '*6.2*'
+ getOneMock el9x $opt '*6.2*'
+ getOneMock el9a $opt '*6.2*'
elif [ $1 = allr70 ]; then
- opt=remi
- getOneMock fc34x $opt '*7.0*'
- getOneMock fc35x $opt '*7.0*'
- getOneMock el7x $opt '*7.0*'
opt=redis70
- getOneMock fc36x $opt '*7.0*'
+ getOneMock fc40x $opt '*7.0*'
+ getOneMock fc40a $opt '*7.0*'
getOneMock el8x $opt '*7.0*'
+ getOneMock el8a $opt '*7.0*'
getOneMock el9x $opt '*7.0*'
-
-elif [ $1 = all54 ]; then
- n=7
- getOneMock el${n}x remi '*5.4*'
-
-elif [ $1 = for56 ]; then
- for i in 7
- do
- getOneMock el${i}x test
- done
-
-elif [ $1 = for55 ]; then
- for i in 7
- do
- getOneMock el${i}x test
- done
+ getOneMock el9a $opt '*7.0*'
+
+elif [ $1 = allr72 ]; then
+ opt=redis72
+ getOneMock fc40x $opt '*7.2*'
+ getOneMock fc40a $opt '*7.2*'
+ getOneMock el8x $opt '*7.2*'
+ getOneMock el8a $opt '*7.2*'
+ getOneMock el9x $opt '*7.2*'
+ getOneMock el9a $opt '*7.2*'
+
+elif [ $1 = allm ]; then
+ opt=remi
+ getOneMock el8x $opt '*1.6*'
+ getOneMock el8a $opt '*1.6*'
+ getOneMock fc41x $opt '*1.6*'
+ getOneMock fc41a $opt '*1.6*'
+ getOneMock fc42x $opt '*1.6*'
+ getOneMock fc42a $opt '*1.6*'
+ opt=memcached
+ getOneMock fc40x $opt '*1.6*'
+ getOneMock fc40a $opt '*1.6*'
+ getOneMock el9x $opt '*1.6*'
+ getOneMock el9a $opt '*1.6*'
+ getOneMock el10x $opt '*1.6*'
+ getOneMock el10a $opt '*1.6*'
elif [ $1 = allx ]; then
- for i in 34 35 36
+ for i in 8 9 10
do
- getOneMock fc${i}x $opt
+ (getOneMock el${i}x $opt)
done
- for i in 7 8 9
+ for i in 40 41 42
do
- getOneMock el${i}x $opt
+ (getOneMock fc${i}x $opt)
done
-elif [ $1 = scl54 ]; then
- for i in 7
+elif [ $1 = alla ]; then
+ for i in 8 9 10
do
- getOneMock scl54el${i}x $opt
+ (getOneMock el${i}a $opt)
done
-
-elif [ $1 = scl55 ]; then
- for i in 7
+ for i in 40 41 42
do
- getOneMock scl55el${i}x $opt
+ (getOneMock fc${i}a $opt)
done
elif [ $1 = scl56 ]; then
- for i in 34 35
- do
- getOneMock scl56fc${i}x $opt
- done
- for i in 7 8
+ for i in 8
do
getOneMock scl56el${i}x $opt
done
elif [ $1 = scl70 ]; then
- for i in 34 35
- do
- getOneMock scl70fc${i}x $opt
- done
- for i in 7 8
+ for i in 8
do
getOneMock scl70el${i}x $opt
done
elif [ $1 = scl71 ]; then
- for i in 34 35
- do
- getOneMock scl71fc${i}x $opt
- done
- for i in 7 8
+ for i in 8
do
getOneMock scl71el${i}x $opt
done
-elif [ $1 = scl82 ]; then
- for i in 35 36
+elif [ $1 = scl84 ]; then
+ for dis in fc40 fc41 fc42 el8 el9 el10
do
- getOneMock scl82fc${i}x $opt
+ getOneMock scl84${dis}x $opt
+ getOneMock scl84${dis}a $opt
done
- for i in 7 8 9
+
+elif [ $1 = scl83 ]; then
+ for dis in fc40 fc41 fc42 el8 el9 el10
do
- getOneMock scl82el${i}x $opt
+ getOneMock scl83${dis}x $opt
+ getOneMock scl83${dis}a $opt
done
-elif [ $1 = scl81 ]; then
- for i in 34 35 36
+elif [ $1 = scl82 ]; then
+ for dis in fc40 fc41 fc42 el8 el9 el10
do
- getOneMock scl81fc${i}x $opt
+ getOneMock scl82${dis}x $opt
+ getOneMock scl82${dis}a $opt
done
- for i in 7 8 9
+
+elif [ $1 = scl81 ]; then
+ for dis in fc40 fc41 fc42 el8 el9 el10
do
- getOneMock scl81el${i}x $opt
+ getOneMock scl81${dis}x $opt
+ getOneMock scl81${dis}a $opt
done
elif [ $1 = scl80 ]; then
- for i in 34 35 36
- do
- getOneMock scl80fc${i}x $opt
- done
- for i in 7 8 9
+ for dis in fc42 fc40 fc41 el8 el9 el10
do
- getOneMock scl80el${i}x $opt
+ getOneMock scl80${dis}x $opt
+ getOneMock scl80${dis}a $opt
done
elif [ $1 = scl74 ]; then
- for i in 34 35 36
+ for dis in fc42 fc40 fc41 el8 el9 el10
do
- getOneMock scl74fc${i}x $opt
- done
- for i in 7 8 9
- do
- getOneMock scl74el${i}x $opt
+ getOneMock scl74${dis}x $opt
+ getOneMock scl74${dis}a $opt
done
elif [ $1 = scl73 ]; then
- for i in 34 35
- do
- getOneMock scl73fc${i}x $opt
- done
- for i in 7 8
+ for i in 8
do
getOneMock scl73el${i}x $opt
done
+ getOneMock scl73el8a $opt
elif [ $1 = scl72 ]; then
- for i in 34 35
- do
- getOneMock scl72fc${i}x $opt
- done
- for i in 7 8
+ for i in 8
do
getOneMock scl72el${i}x $opt
done
-
+ getOneMock scl72el8a $opt
+
+elif [ $1 = allphp ]; then
+ LOG=$(mktemp out.XXXXXXXXXX)
+ MOD="all72 all73 all74 all80 all81 all82 all83 all84"
+ SCL="scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83 scl84"
+ for i in $SCL $MOD
+ do $0 $opt $i | tee $LOG
+ if grep -q '64\.rpm' $LOG && grep -q 'pas un dossier mock' $LOG
+ then
+ echo -en "\n> $i - [enter] >"; read rep
+ fi
+ done
+ rm -f $LOG
+elif [ $1 = all42 ]; then
+ LOG=$(mktemp out.XXXXXXXXXX)
+ MOD="74 80 81 82 83 84"
+ for v in $MOD; do
+ for i in fc42x${v} fc42a${v} scl${v}fc42x scl${v}fc42a; do
+ $0 $opt $i | tee $LOG
+ if grep -q '64\.rpm' $LOG && grep -q 'pas un dossier mock' $LOG
+ then
+ echo -en "\n> $i - [enter] >"; read rep
+ fi
+ done
+ done
+ rm -f $LOG
else
for i in $*
do