SF.net SVN: gar:[24006] csw/mgar/gar/v2/bin/csw-upload-pkg

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Aug 17 13:24:04 CEST 2014


Revision: 24006
          http://sourceforge.net/p/gar/code/24006
Author:   bdwalton
Date:     2014-08-17 11:24:00 +0000 (Sun, 17 Aug 2014)
Log Message:
-----------
alter csw-upload-pkg wrapper to allow it to work when symlinked from other directories

Modified Paths:
--------------
    csw/mgar/gar/v2/bin/csw-upload-pkg

Modified: csw/mgar/gar/v2/bin/csw-upload-pkg
===================================================================
--- csw/mgar/gar/v2/bin/csw-upload-pkg	2014-08-17 09:31:06 UTC (rev 24005)
+++ csw/mgar/gar/v2/bin/csw-upload-pkg	2014-08-17 11:24:00 UTC (rev 24006)
@@ -3,6 +3,6 @@
 set -e
 set -u
 
-basedir=$(dirname $0)/..
+basedir=$(dirname $(realpath $0))/..
 export PYTHONPATH=$basedir
 exec /opt/csw/bin/python2.6 "$basedir/lib/python/csw_upload_pkg.py" "$@"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list