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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Feb 14 17:26:03 CET 2012


Revision: 17055
          http://gar.svn.sourceforge.net/gar/?rev=17055&view=rev
Author:   wahwah
Date:     2012-02-14 16:26:02 +0000 (Tue, 14 Feb 2012)
Log Message:
-----------
migrateconf: preserve file attributes when copying

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

Modified: csw/mgar/pkg/cswclassutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/Makefile	2012-02-14 16:17:27 UTC (rev 17054)
+++ csw/mgar/pkg/cswclassutils/trunk/Makefile	2012-02-14 16:26:02 UTC (rev 17055)
@@ -1,7 +1,7 @@
 # $HeadURL$
 
 NAME = cswclassutils
-VERSION = 1.45
+VERSION = 1.47
 CATEGORIES = utils
 GARTYPE = v2
 

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswmigrateconf
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswmigrateconf	2012-02-14 16:17:27 UTC (rev 17054)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswmigrateconf	2012-02-14 16:26:02 UTC (rev 17055)
@@ -262,7 +262,7 @@
       elif [ -f "${archpath}" ]; then
         debug cp "${archpath}" "${dstpath}"
         mkdir -p "${PKG_INSTALL_ROOT}${dstdir}"
-        cp "${archpath}" "${dstpath}"
+        cp -p "${archpath}" "${dstpath}"
       else
         echo "WARNING: ${archpath} is neither a file or directory."
       fi

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