Fixes in changes for Debian.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 11 Apr 2012 14:29:12 +0000 (14:29 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 11 Apr 2012 14:29:12 +0000 (14:29 +0000)
org.glite.testsuites.ctb/gridsite/tests/gridsite-common-testbeds.sh

index 4e4ede7..0a68cf9 100755 (executable)
@@ -55,12 +55,12 @@ done
 HTTPD_CONF=\$HTTPD_CONFDIR/gridsite-webserver.conf
 
 # Debian compress everything inside /usr/share/doc
-HTTPD_CONF_SRC=`ls -1 /usr/share/doc/gridsite-*/httpd-webserver.conf* | head -n 1`
+HTTPD_CONF_SRC=\`ls -1 /usr/share/doc/gridsite-*/httpd-webserver.conf* | head -n 1\`
 if echo \$HTTPD_CONF_SRC | grep '\.gz$' >/dev/null 2>&1; then
        gzip -dc < \$HTTPD_CONF_SRC > /tmp/httpd-webserver.conf
        HTTPD_CONF_SRC=/tmp/httpd-webserver.conf
 fi
-if test [ -z "\$HTTPD_CONF_SRC" ]; then
+if [ -z "\$HTTPD_CONF_SRC" ]; then
        echo "gridsite apache config example not found" >&2
        exit 2
 fi