summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/sqldb/pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/components/sqldb/pgsql')
-rwxr-xr-xsca-cpp/trunk/components/sqldb/pgsql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/components/sqldb/pgsql b/sca-cpp/trunk/components/sqldb/pgsql
index dab30e642b..23b78b90ec 100755
--- a/sca-cpp/trunk/components/sqldb/pgsql
+++ b/sca-cpp/trunk/components/sqldb/pgsql
@@ -18,7 +18,7 @@
# under the License.
# Run SQL command
-here=`readlink -f $0`; here=`dirname $here`
+here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
pgsql_prefix=`cat $here/pgsql.prefix`
if [ "$2" = "" ]; then