summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-debug
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-debug')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-debug b/sca-cpp/trunk/modules/http/httpd-debug
index 93a6bf81d4..df0d21fbe5 100755
--- a/sca-cpp/trunk/modules/http/httpd-debug
+++ b/sca-cpp/trunk/modules/http/httpd-debug
@@ -18,8 +18,8 @@
# under the License.
# Start 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`
httpd=`cat $here/httpd.prefix`
$httpd/bin/httpd -X -E $root/logs/error_log -d $root -f $root/conf/httpd.conf