From: František Dvořák Date: Wed, 11 Apr 2012 13:53:22 +0000 (+0000) Subject: Typos (fix for Debian). X-Git-Tag: glite-px-proxyrenewal_R_1_3_25_2~19 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=fb3bce7e477eb8b02d48f2e2f10cd40e2d04ba7e;p=jra1mw.git Typos (fix for Debian). --- diff --git a/org.glite.testsuites.ctb/CANL-C/tests/canl-common-testbeds.sh b/org.glite.testsuites.ctb/CANL-C/tests/canl-common-testbeds.sh index 7eeb58f..c37c215 100755 --- a/org.glite.testsuites.ctb/CANL-C/tests/canl-common-testbeds.sh +++ b/org.glite.testsuites.ctb/CANL-C/tests/canl-common-testbeds.sh @@ -22,11 +22,11 @@ remotehost=$1 COPYPROXY=$2 egrep -i "Debian|Ubuntu" /etc/issue -if [ \$? = 0 ]; then - INSTALLCMD="apt-get install -q --yes" +if [ $? = 0 ]; then + INSTALLCMD="apt-get install -q --yes" INSTALLPKGS="lintian" else - INSTALLCMD="yum install -q -y --nogpgcheck" + INSTALLCMD="yum install -q -y --nogpgcheck" INSTALLPKGS="rpmlint" fi diff --git a/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh b/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh index c0b2319..9a66053 100755 --- a/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh +++ b/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh @@ -22,11 +22,11 @@ remotehost=$1 COPYPROXY=$2 egrep -i "Debian|Ubuntu" /etc/issue -if [ \$? = 0 ]; then - INSTALLCMD="apt-get install -q --yes" +if [ $? = 0 ]; then + INSTALLCMD="apt-get install -q --yes" INSTALLPKGS="lintian" else - INSTALLCMD="yum install -q -y --nogpgcheck" + INSTALLCMD="yum install -q -y --nogpgcheck" INSTALLPKGS="rpmlint" fi