summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-restart
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-restart')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-restart4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-restart b/sca-cpp/trunk/modules/http/httpd-restart
index 3e3b687f98..81b098d85d 100755
--- a/sca-cpp/trunk/modules/http/httpd-restart
+++ b/sca-cpp/trunk/modules/http/httpd-restart
@@ -18,8 +18,8 @@
# under the License.
# Restart httpd server
-here=`readlink -f $0`; here=`dirname $here`
-root=`readlink -f $1`
+here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
+root=`echo "import os; print os.path.realpath('$1')" | python`
apachectl=`cat $here/httpd-apachectl.prefix`
$apachectl -k graceful -d $root -f $root/conf/httpd.conf