From: Zdeněk Šustr Date: Fri, 9 Mar 2012 11:20:24 +0000 (+0000) Subject: Different approach to generating repo lists. X-Git-Tag: glite-jobid-api-c_R_2_1_2_1~57 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7a11b393db3418318d5e94b0823aaa4566f22a26;p=jra1mw.git Different approach to generating repo lists. --- diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh index acc2889..70b3e71 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh @@ -215,10 +215,11 @@ function gen_repo_lists() LISTALLCMD="apt-get install -q --yes" else yum install -y -q yum-utils - LISTALLCMD="repoquery -a --qf \"%{name} %{version} %{repoid}\"" + repoquery -a --qf "%{name} %{version} %{repoid}" > /tmp/allpkgs.$$.txt fi - $LISTALLCMD | grep " EMI" > $1 - $LISTALLCMD | grep " ETICS" > $2 + cat /tmp/allpkgs.$$.txt | grep " EMI" > $1 + cat /tmp/allpkgs.$$.txt | grep " ETICS" > $2 + rm -f /tmp/allpkgs.$$.txt }