From fb3bce7e477eb8b02d48f2e2f10cd40e2d04ba7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 11 Apr 2012 13:53:22 +0000 Subject: [PATCH] Typos (fix for Debian). --- org.glite.testsuites.ctb/CANL-C/tests/canl-common-testbeds.sh | 6 +++--- org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 -- 1.8.2.3