[141299] trunk/dports/devel/cppcheck/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Sat Dec 12 00:55:52 PST 2015


Revision: 141299
          https://trac.macports.org/changeset/141299
Author:   dstrubbe at macports.org
Date:     2015-10-15 10:09:53 -0700 (Thu, 15 Oct 2015)
Log Message:
-----------
cppcheck: Change 'mv' to 'cp' for recommended update of config files, to avoid possible warnings from 'Updating database of binaries' and preserve examples for reference.

Modified Paths:
--------------
    trunk/dports/devel/cppcheck/Portfile

Modified: trunk/dports/devel/cppcheck/Portfile
===================================================================
--- trunk/dports/devel/cppcheck/Portfile	2015-10-14 23:31:23 UTC (rev 141298)
+++ trunk/dports/devel/cppcheck/Portfile	2015-10-15 17:09:53 UTC (rev 141299)
@@ -46,7 +46,7 @@
 
 notes                       "If you've updated cppcheck from a previous version," \
                             "you may want to replace the included config files:" \
-                            "sudo find /opt/local/share/cppcheck -type f -name \"*.cfg.dist\" -exec bash -c 'f=\"\{\}\"; mv \"\$f\" \"\$\{f%.cfg.dist\}.cfg\"' \\;"
+                            "sudo find /opt/local/share/cppcheck -type f -name \"*.cfg.dist\" -exec bash -c 'f=\"\{\}\"; cp \"\$f\" \"\$\{f%.cfg.dist\}.cfg\"' \\;"
 
 post-destroot {
     xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/7baf08c8/attachment.html>


More information about the macports-changes mailing list