needs this fix
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 9 Sep 2010 09:38:10 +0000 (11:38 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 9 Sep 2010 09:38:10 +0000 (11:38 +0200)
mirroring/mirror.sh

index 68e2821..4593ade 100755 (executable)
@@ -18,7 +18,7 @@ function check_distro () {
 
 function do_repo () {
     local distro=$1; shift
-    sedargs="-e s,@MIRRORURL@,$URL,"
+    sedargs="-e s,@MIRRORURL@,$URL,g"
     [ -n "$GPGOFF" ] && sedargs="$sedargs -e "'s,gpgcheck\W*=\W*1,gpgcheck=0,'
     sed $sedargs $DIRNAME/$distro/yum.repos.d/building.repo.in
 }