From: Zdeněk Šustr Date: Mon, 27 Feb 2012 10:55:54 +0000 (+0000) Subject: Compare the full string X-Git-Tag: gridsite-core_R_1_7_17~3 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=8c70bc2fc1173c6b8c0b37c3b6abc9e11e8fc38d;p=jra1mw.git Compare the full string --- diff --git a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh index 5b1f413..547c254 100755 --- a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh +++ b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh @@ -392,7 +392,7 @@ EOF printf "Setting up .lsc file and trying again\n" UTOPIA=`voms-proxy-info -all | grep -A 100 "extension information" | grep "^issuer" | grep "L=Tropic" | grep "O=Utopia" | grep "OU=Relaxation"` - if [ $UTOPIA != "" ]; then + if [ "$UTOPIA" != "" ]; then printf "Possibly fake VOMS extensions. Regenerating..." voms-proxy-info | grep -A 100 "extension information" voms-proxy-init -voms vo.org -key $x509_USER_KEY -cert $x509_USER_CERT