[csw-devel] SF.net SVN: gar:[5103] csw/mgar/pkg/cswclassutils/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Fri May 29 10:53:00 CEST 2009


Revision: 5103
          http://gar.svn.sourceforge.net/gar/?rev=5103&view=rev
Author:   bonivart
Date:     2009-05-29 08:52:59 +0000 (Fri, 29 May 2009)

Log Message:
-----------
cswclassutils: update cswpycompile scripts (1.14)

Modified Paths:
--------------
    csw/mgar/pkg/cswclassutils/trunk/Makefile
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpycompile
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswinitsmf
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswpycompile

Modified: csw/mgar/pkg/cswclassutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-05-29 08:05:16 UTC (rev 5102)
+++ csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-05-29 08:52:59 UTC (rev 5103)
@@ -1,5 +1,5 @@
 GARNAME = cswclassutils
-GARVERSION = 1.13
+GARVERSION = 1.14
 CATEGORIES = utils
 
 DESCRIPTION = CSW class action utilities

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpycompile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpycompile	2009-05-29 08:05:16 UTC (rev 5102)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpycompile	2009-05-29 08:52:59 UTC (rev 5103)
@@ -20,7 +20,14 @@
 if [ "${DEBUG}" ]; then
     echo PACKAGE: $PKGINST
 fi
+while read src dest; do
+    if [ "$DEBUG" ]; then
+        echo SRC: $src DEST: $dest
+    fi
 
+    /usr/bin/cp -p $src $dest || exit 2
+done
+
 if [ ! -f ${PY_BINDIR}/python -a ! -x ${PY_BINDIR}/python ]; then
     echo "Could not find or execute ${PY_BINDIR}/python"
     echo "Check your Python installation."

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswinitsmf
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswinitsmf	2009-05-29 08:05:16 UTC (rev 5102)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswinitsmf	2009-05-29 08:52:59 UTC (rev 5103)
@@ -15,6 +15,7 @@
 # 2009-04-23 Fixed bug when stopping non-SMF services
 # 2009-04-24 Temporarily disabled the "persistent state" code until it can be used
 #            per service, not just per package
+# 2009-05-28 Enabled persistent state code again after receiving patch from Yann.
 
 DEBUG=		# clear to disable debug, set to anything to enable
 

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswpycompile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswpycompile	2009-05-29 08:05:16 UTC (rev 5102)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.r.cswpycompile	2009-05-29 08:52:59 UTC (rev 5103)
@@ -20,4 +20,12 @@
 echo "Removing pyo and pyc files for package <$PKGINST> ..."
 pkgchk -v $PKGINST 2>&1 |grep \.py$ | xargs -i rm -f {}c {}o
 
+while read dest; do
+    if [ "$DEBUG" ]; then
+        echo DEST: $dest
+    fi
+    /usr/bin/rm -f $dest || exit 2
+done
+
+
 exit 0


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