diff options
Diffstat (limited to 'sca-cpp/trunk/components/sqldb/pgsql-backup')
-rwxr-xr-x | sca-cpp/trunk/components/sqldb/pgsql-backup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/sqldb/pgsql-backup b/sca-cpp/trunk/components/sqldb/pgsql-backup index fad59236bf..0c2a1289a3 100755 --- a/sca-cpp/trunk/components/sqldb/pgsql-backup +++ b/sca-cpp/trunk/components/sqldb/pgsql-backup @@ -18,8 +18,8 @@ # under the License. # Backup postgresql data directory -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` if [ "$2" = "" ]; then host="localhost" |