SF.net SVN: gar:[23208] csw/mgar/gar/v2/bin

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Mar 13 11:07:33 CET 2014


Revision: 23208
          http://sourceforge.net/p/gar/code/23208
Author:   wahwah
Date:     2014-03-13 10:07:33 +0000 (Thu, 13 Mar 2014)
Log Message:
-----------
checkpkg: removing the bin/checkpkg symlink

Removing the symlink from bin/checkpkg to ../lib/python/checkpkg2.py

Adding a wrapper for checkpkg (sets PYTHONPATH)

Added Paths:
-----------
    csw/mgar/gar/v2/bin/checkpkg

Removed Paths:
-------------
    csw/mgar/gar/v2/bin/checkpkg

Deleted: csw/mgar/gar/v2/bin/checkpkg
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg	2014-03-13 07:15:35 UTC (rev 23207)
+++ csw/mgar/gar/v2/bin/checkpkg	2014-03-13 10:07:33 UTC (rev 23208)
@@ -1 +0,0 @@
-link ../lib/python/checkpkg2.py
\ No newline at end of file

Added: csw/mgar/gar/v2/bin/checkpkg
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg	                        (rev 0)
+++ csw/mgar/gar/v2/bin/checkpkg	2014-03-13 10:07:33 UTC (rev 23208)
@@ -0,0 +1,8 @@
+#!/opt/csw/bin/bash
+
+set -e
+set -u
+
+basedir=$(dirname $0)/..
+export PYTHONPATH=$basedir
+exec /opt/csw/bin/python2.6 "$basedir/lib/python/checkpkg2.py" "$@"


Property changes on: csw/mgar/gar/v2/bin/checkpkg
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
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