[PATCH 06/11] Apply same fix of round.sh into el-round.sh
Sérgio M. Basto
sergio at serjux.com
Thu Nov 10 04:52:07 CET 2016
Signed-off-by: Sérgio M. Basto <sergio at serjux.com>
---
el-round.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/el-round.sh b/el-round.sh
index 792299e..0722d97 100755
--- a/el-round.sh
+++ b/el-round.sh
@@ -3,6 +3,11 @@
ARCHES="i386 x86_64 ppc ppc64 ppc64le"
FVERSION="5 6 7"
REPOS="rpmfusion_free rpmfusion_nonfree kwizart"
+#cd .. ; git clone https://git.fedorahosted.org/git/mock.git ; cd mock
+#git checkout devel
+etc_mock=../mock/etc/mock
+#to old config uncomment next line
+#etc_mock=/etc/mock
for arch in $ARCHES ; do
@@ -19,7 +24,7 @@ for arch in $ARCHES ; do
rm -f fedora-${fver}-${arch}-${repo}.cfg
continue
fi
- cp /etc/mock/epel-${fver}-${arch}.cfg epel-${fver}-${arch}-${repo}.cfg
+ cp ${etc_mock}/epel-${fver}-${arch}.cfg epel-${fver}-${arch}-${repo}.cfg
sed -i -e "s|^\"\"\"||g" epel-${fver}-${arch}-${repo}.cfg
cat rpmfusion-free-$flavour-template >> epel-${fver}-${arch}-${repo}.cfg
if [ ! "$repo" = rpmfusion_free ] ; then
--
2.5.5
More information about the rpmfusion-developers
mailing list