Fix path
authorZdeněk Šustr <sustr4@cesnet.cz>
Fri, 24 Feb 2012 10:31:19 +0000 (10:31 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Fri, 24 Feb 2012 10:31:19 +0000 (10:31 +0000)
Cosmetics

org.glite.testsuites.ctb/gridsite/tests/gridsite-autonomous-test.sh
org.glite.testsuites.ctb/gridsite/tests/gridsite-common-testbeds.sh

index 25433a5..6f8042c 100755 (executable)
@@ -82,7 +82,7 @@ printf "Getting the 'install' script... "
 # Example script, for real tests it should be downloaded or otherwise obtained
 SCENARIO=${SCENARIO:-"Clean installation"}
 test -s GridSiteInstall.sh || cat << EndInstallScript > GridSiteInstall.sh
-rpm -Uvhi rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
+rpm -Uvhi http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
 yum install -y yum-priorities yum-protectbase
 rpm -i http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm
 
index a066488..33c137e 100755 (executable)
@@ -57,9 +57,9 @@ HTTPD_CONF=\$HTTPD_CONFDIR/gridsite-webserver.conf
 sed -e '1,\$s!/usr/lib/httpd/modules/!modules/!' /usr/share/doc/gridsite-*/httpd-webserver.conf | sed 's!/var/www/html!/var/www/htdocs!' | sed "s/FULL.SERVER.NAME/\$(hostname -f)/" | sed "s/\(GridSiteGSIProxyLimit\)/# \1/"> \$HTTPD_CONF
 echo "AddHandler cgi-script .cgi" >> \$HTTPD_CONF
 echo "ScriptAlias /gridsite-delegation.cgi /usr/sbin/gridsite-delegation.cgi" >> \$HTTPD_CONF
-mkdir /var/www/htdocs
+mkdir -p /var/www/htdocs
 killall httpd apache2 >/dev/null 2>&1
-sleep 1
+sleep 2
 killall -9 httpd apache2 >/dev/null 2>&1
 echo Starting httpd -f \$HTTPD_CONF
 httpd -f \$HTTPD_CONF