diff options
Diffstat (limited to 'sca-cpp/trunk/components/sqldb/pgsql')
-rwxr-xr-x | sca-cpp/trunk/components/sqldb/pgsql | 2 |
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 |