From 3526abd9a2a96bca319f7e42eabfee11e1a24460 Mon Sep 17 00:00:00 2001 From: Kacper Kornet Date: Thu, 31 Mar 2011 17:30:16 +0100 Subject: [PATCH] Move mirrors to rpm-build-tools so it is usable with git --- builder.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder.sh b/builder.sh index 62081db..aa018ff 100755 --- a/builder.sh +++ b/builder.sh @@ -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 -- 2.44.0