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

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Jun 2 19:14:53 CEST 2009


Revision: 5130
          http://gar.svn.sourceforge.net/gar/?rev=5130&view=rev
Author:   bonivart
Date:     2009-06-02 17:14:53 +0000 (Tue, 02 Jun 2009)

Log Message:
-----------
cswclassutils: fix bugs regarding AUTOENABLE (#3635)

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

Modified: csw/mgar/pkg/cswclassutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-06-02 08:35:39 UTC (rev 5129)
+++ csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-06-02 17:14:53 UTC (rev 5130)
@@ -1,5 +1,5 @@
 GARNAME = cswclassutils
-GARVERSION = 1.14
+GARVERSION = 1.15
 CATEGORIES = utils
 
 DESCRIPTION = CSW class action utilities

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinitsmf
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinitsmf	2009-06-02 08:35:39 UTC (rev 5129)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinitsmf	2009-06-02 17:14:53 UTC (rev 5130)
@@ -223,9 +223,9 @@
     # Start service
     AUTOENABLE="yes"
     if [ "`grep '^#AUTOENABLE' $dest`" ]; then
-      AUTOENABLE=`grep '^#AUTOENABLE' $dest | awk '{print $2}' | tr -s '[:upper:]' '[:lower:]'`
+      AUTOENABLE=`grep '^#AUTOENABLE' $dest | awk '{print $2}' | /usr/xpg4/bin/tr -s '[:upper:]' '[:lower:]'`
     fi
-    if [ "$daemon" = "yes" -a "$AUTOENABLE" != "no" -a "$AUTOENABLE" != "false"]; then
+    if [ "$daemon" = "yes" -a "$AUTOENABLE" != "no" -a "$AUTOENABLE" != "false" ]; then
       load_smf_service_state "$FMRI/$service"
       if [ "$SMF_STATE" = "enabled" ]; then
         echo Enabling svc:/$FMRI/$service ...


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