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

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Thu Jan 15 18:33:16 CET 2009


Revision: 2842
          http://gar.svn.sourceforge.net/gar/?rev=2842&view=rev
Author:   bonivart
Date:     2009-01-15 17:33:16 +0000 (Thu, 15 Jan 2009)

Log Message:
-----------
cswclassutils: i.cswcpsampleconf and i.cswpreserveconf now copies files in preserve mode

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

Modified: csw/mgar/pkg/cswclassutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-01-15 16:24:22 UTC (rev 2841)
+++ csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-01-15 17:33:16 UTC (rev 2842)
@@ -1,5 +1,5 @@
 GARNAME = cswclassutils
-GARVERSION = 1.2
+GARVERSION = 1.3
 CATEGORIES = utils
 
 DESCRIPTION = CSW class action utilities
@@ -15,7 +15,7 @@
 include gar/category.mk
 
 WORKSRC = $(WORKDIR)
-SPKG_SOURCEURL = http://www.opencsw.org/
+SPKG_SOURCEURL = http://www.opencsw.org
 
 install-custom:
 	@echo " ==> Installing $(GARNAME) (custom)"

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcpsampleconf
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcpsampleconf	2009-01-15 16:24:22 UTC (rev 2841)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswcpsampleconf	2009-01-15 17:33:16 UTC (rev 2842)
@@ -31,8 +31,9 @@
 		echo $confdest already exists. Not overwriting
 	else
 		echo Copying sample config to $confdest
-		cp $dest $confdest
+		cp -p $dest $confdest
 	fi
 done
 
 echo ""
+

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpreserveconf
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpreserveconf	2009-01-15 16:24:22 UTC (rev 2841)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswpreserveconf	2009-01-15 17:33:16 UTC (rev 2842)
@@ -34,13 +34,14 @@
 
 	if [ -f $preservedconf ] ; then
 		echo Restoring $preservedconf
-		cp $preservedconf $confdest
+		cp -p $preservedconf $confdest
 	elif [ -f $confdest ] ; then
 		echo $confdest already exists. Not overwriting
 	else
 		echo Copying sample config to $confdest
-		cp $dest $confdest
+		cp -p $dest $confdest
 	fi
 done
 
 echo ""
+


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