[csw-devel] SF.net SVN: opencsw:[648] gar-wrapper/mgar

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jan 31 16:19:23 CET 2013


Revision: 648
          http://opencsw.svn.sourceforge.net/opencsw/?rev=648&view=rev
Author:   dmichelsen
Date:     2013-01-31 15:19:23 +0000 (Thu, 31 Jan 2013)
Log Message:
-----------
mgar: Make sure to prefer csw python or mako template not found will occur

Modified Paths:
--------------
    gar-wrapper/mgar

Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar	2013-01-27 12:32:44 UTC (rev 647)
+++ gar-wrapper/mgar	2013-01-31 15:19:23 UTC (rev 648)
@@ -57,7 +57,8 @@
 
 VERSION=0.95
 EDITOR=${EDITOR:-vi}
-PATH=$PATH:/opt/csw/bin
+# Make sure we pull in e.g. python from OpenCSW or the modules like mako will be missing
+PATH=/opt/csw/bin:$PATH
 DEF_BUILDTREE=~/opencsw
 DEF_GARTYPE=v2
 
@@ -429,7 +430,6 @@
 }
 
 function get_pkg_buildsysdir() {
-  # fallback to svn:externals until builds are adjusted to carry GARYTPE
   local __gartype=`read_makefile_value GARTYPE`;
   [ -z "$__gartype" ] && __gartype=$DEF_GARTYPE
   echo $BUILDTREE/.buildsys/$__gartype

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