summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-04-08 18:17:51 +0200
committerRemi Collet <fedora@famillecollet.com>2015-04-08 18:17:51 +0200
commit7f11aca9597cdf623aee335b3af2177d7a246065 (patch)
treed9a1869b0581b8316ad5af51114ca7470ff4cd6d
parenta207914c583daab7cc8a83b9064f55237ff2554e (diff)
git rid of seq command
-rw-r--r--buildfct20
-rwxr-xr-xgetmock28
2 files changed, 24 insertions, 24 deletions
diff --git a/buildfct b/buildfct
index fd833ee..99cb181 100644
--- a/buildfct
+++ b/buildfct
@@ -147,7 +147,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 22 -1 18)
+ for i in 21 22 20 19 18
do
echo -n "$(date +%X) fc$i "
setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
@@ -236,7 +236,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 22 -1 20)
+ for i in 21 22 20
do
echo -n "$(date +%X) test-fc$i "
setarch i686 mock $quiet --configdir=$mocketc -r fc${i}it --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
@@ -261,12 +261,12 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 22 -1 18)
+ for i in 21 22 20 19 18
do
echo -n "$(date +%X) fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
done
- for i in $(seq 7 -1 5)
+ for i in 7 6 5
do
echo -n "$(date +%X) el$i "
mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
@@ -287,7 +287,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 7 -1 5)
+ for i in 7 6 5
do
echo -n "$(date +%X) el$i "
mock $quiet --configdir=$mocketc -r el${i}x rebuild $1 && echo " Ok." || echo " Error !"
@@ -308,7 +308,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 7 -1 5)
+ for i in 7 6 5
do
echo -n "$(date +%X) 55 el$i "
mock $quiet --configdir=$mocketc -r el${i}x55 rebuild $1 && echo " Ok." || echo " Error !"
@@ -329,12 +329,12 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 20 -1 19)
+ for i in 20 19
do
echo -n "$(date +%X) 56 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x56 rebuild $1 && echo " Ok." || echo " Error !"
done
- for i in $(seq 7 -1 5)
+ for i in 7 6 5
do
echo -n "$(date +%X) 56 el$i "
mock $quiet --configdir=$mocketc -r el${i}x56 rebuild $1 && echo " Ok." || echo " Error !"
@@ -459,12 +459,12 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in $(seq 22 -1 20)
+ for i in 21 22 20
do
echo -n "$(date +%X) test-fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xt rebuild $1 && echo " Ok." || echo " Error !"
done
- for i in $(seq 7 -1 5)
+ for i in 7 6 5
do
echo -n "$(date +%X) test-el$i "
mock $quiet --configdir=$mocketc -r el${i}xt rebuild $1 && echo " Ok." || echo " Error !"
diff --git a/getmock b/getmock
index 30843fe..2c79f7d 100755
--- a/getmock
+++ b/getmock
@@ -162,16 +162,16 @@ if [ $1 = devs -o $1 = dev ]; then
fi
if [ $1 = all ]; then
- for i in $(seq 18 22)
+ for i in 18 19 20 21 22
do
getOneMock fc${i}i $opt
done
- for i in $(seq 5 6)
+ for i in 5 6
do
getOneMock el${i}i $opt
done
elif [ $1 = all55 ]; then
- for n in $(seq 5 6)
+ for n in 5 6
do
getOneMock el${n}i php55
getOneMock el${n}x php55
@@ -180,12 +180,12 @@ elif [ $1 = all55 ]; then
getOneMock el${n}x php55
elif [ $1 = all56 ]; then
- for n in $(seq 19 20)
+ for n in 19 20
do
getOneMock fc${n}i php56
getOneMock fc${n}x php56
done
- for n in $(seq 5 6)
+ for n in 5 6
do
getOneMock el${n}i php56
getOneMock el${n}x php56
@@ -194,7 +194,7 @@ elif [ $1 = all56 ]; then
getOneMock el${n}x php56
elif [ $1 = all54 ]; then
- for n in $(seq 5 6)
+ for n in 5 6
do
getOneMock el${n}i remi
getOneMock el${n}x remi
@@ -203,41 +203,41 @@ elif [ $1 = all54 ]; then
getOneMock el${n}x remi
elif [ $1 = allx ]; then
- for i in $(seq 18 22)
+ for i in 18 19 20 21 22
do
getOneMock fc${i}x $opt
done
- for i in $(seq 5 7)
+ for i in 5 6 7
do
getOneMock el${i}x $opt
done
elif [ $1 = scl54 ]; then
- for i in $(seq 19 22)
+ for i in 19 20 21 22
do
getOneMock scl54fc${i}x $opt
done
- for i in $(seq 6 7)
+ for i in 6 7
do
getOneMock scl54el${i}x $opt
done
elif [ $1 = scl55 ]; then
- for i in $(seq 21 22)
+ for i in 21 22
do
getOneMock scl55fc${i}x $opt
done
- for i in $(seq 6 7)
+ for i in 6 7
do
getOneMock scl55el${i}x $opt
done
elif [ $1 = scl56 ]; then
- for i in $(seq 19 22)
+ for i in 19 20 21 22
do
getOneMock scl56fc${i}x $opt
done
- for i in $(seq 6 7)
+ for i in 6 7
do
getOneMock scl56el${i}x $opt
done