]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Move mirrors to rpm-build-tools so it is usable with git
authorKacper Kornet <draenog@pld-linux.org>
Thu, 31 Mar 2011 16:30:16 +0000 (17:30 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Thu, 31 Mar 2011 16:30:16 +0000 (17:30 +0100)
builder.sh

index 62081db19ce6a967ba98f8cc744fc0c87fb8e501..aa018ffceee510b9551acdef113a2ffdf9445820 100755 (executable)
@@ -843,8 +843,8 @@ get_spec() {
 find_mirror() {
        cd "$REPO_DIR"
        local url="$1"
-       if [ ! -f "mirrors" -a "$NOCVSSPEC" != "yes" ] ; then
-               $CVS_COMMAND update mirrors >&2
+       if [ ! -f "mirrors"  ] ; then
+               ln -s rpm-build-toos/mirrors .
        fi
 
        IFS="|"
@@ -1922,7 +1922,7 @@ init_rpm_dir() {
        mkdir -p $TOP_DIR $rpmdir $buildir $srpmdir
 
        GIT_WORK_TREE=${TOP_DIR}/rpm-build-tools git clone  ${GIT_SERVER}/rpm-build-tools.git || 
-       for a in dropin md5 adapter builder {relup,compile,repackage,rsync,pearize}.sh pldnotify.awk; do
+       for a in dropin md5 adapter builder mirrors {relup,compile,repackage,rsync,pearize}.sh pldnotify.awk; do
                ln -s rpm-build-tools/$a .
        done
        init_builder
This page took 0.032848 seconds and 4 git commands to generate.