summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/start
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/start')
-rwxr-xr-xsca-cpp/trunk/modules/edit/start4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/edit/start b/sca-cpp/trunk/modules/edit/start
index 554061073b..7d259314bf 100755
--- a/sca-cpp/trunk/modules/edit/start
+++ b/sca-cpp/trunk/modules/edit/start
@@ -20,8 +20,8 @@
# For this module to work, add the app domains to your /etc/hosts as follows:
# 127.0.0.1 sca-store.com abc.sca-store.com xyz.sca-store.com ...
-here=`readlink -f $0`; here=`dirname $here`
-jsprefix=`readlink -f $here/../js`
+here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
+jsprefix=`echo "import os; print os.path.realpath('$here/../js')" | python`
# Configure server with virtual hosting
../../modules/http/httpd-conf tmp sca-store.com 8090 htdocs