@@ -38,27 +38,27 @@ for arch in $ARCHES ; do
38
38
cfg_name_new=" ${flavour} +${repo} -${fver} -${arch} .cfg"
39
39
cfg_name_old=" ${flavour} -${fver} -${arch} -${repo} .cfg"
40
40
if [ " $repo " = rpmfusion_free ] ; then
41
- echo " include('${flavour} -${fver} -${arch} .cfg')" > $cfg_name_new
41
+ echo " include('${flavour} -${fver} -${arch} .cfg')" > " $cfg_name_new "
42
42
if [ " ${flavour} " = " epel-next" ] ; then
43
- echo " include('templates/rpmfusion_free-epel.tpl')" >> $cfg_name_new
43
+ echo " include('templates/rpmfusion_free-epel.tpl')" >> " $cfg_name_new "
44
44
fi
45
- echo " include('templates/rpmfusion_free-${flavour} .tpl')" >> $cfg_name_new
45
+ echo " include('templates/rpmfusion_free-${flavour} .tpl')" >> " $cfg_name_new "
46
46
fi
47
47
if [ " $repo " = rpmfusion_nonfree ] ; then
48
- echo " include('${flavour} +rpmfusion_free-${fver} -${arch} .cfg')" > $cfg_name_new
48
+ echo " include('${flavour} +rpmfusion_free-${fver} -${arch} .cfg')" > " $cfg_name_new "
49
49
if [ " ${flavour} " = " epel-next" ] ; then
50
- # echo "include('epel-next-${fver}-${arch}.cfg')" > $cfg_name_new
51
- echo " include('templates/rpmfusion_nonfree-epel.tpl')" >> $cfg_name_new
50
+ # echo "include('epel-next-${fver}-${arch}.cfg')" > " $cfg_name_new"
51
+ echo " include('templates/rpmfusion_nonfree-epel.tpl')" >> " $cfg_name_new "
52
52
fi
53
- echo " include('templates/rpmfusion_nonfree-${flavour} .tpl')" >> $cfg_name_new
53
+ echo " include('templates/rpmfusion_nonfree-${flavour} .tpl')" >> " $cfg_name_new "
54
54
fi
55
55
# yum.conf on epel-7
56
56
if [ " ${fver} " -lt " 8" ]; then
57
57
# No Next repo before el8
58
58
if [ " $flavour " = " epel-next" ] ; then
59
59
continue
60
60
else
61
- sed -i -e " s|epel.tpl|epel_yum.tpl|g" $cfg_name_new
61
+ sed -i -e " s|epel.tpl|epel_yum.tpl|g" " $cfg_name_new "
62
62
fi
63
63
fi
64
64
@@ -70,9 +70,9 @@ for arch in $ARCHES ; do
70
70
# sed -i -e "s|#baseurl=http://download1.rpmfusion.org/nonfree/fedora/|baseurl=http://download1.rpmfusion.org/nonfree/fedora-secondary/|g" fedora-${fver}-${arch2}-${repo}.cfg
71
71
# done
72
72
73
- ln -sr $cfg_name_new $cfg_name_old
74
- mv $cfg_name_new etc/mock/
75
- mv $cfg_name_old etc/mock/
73
+ ln -sr " $cfg_name_new " " $cfg_name_old "
74
+ mv " $cfg_name_new " etc/mock/
75
+ mv " $cfg_name_old " etc/mock/
76
76
# ## /script
77
77
done
78
78
done
0 commit comments