Ignore:
Timestamp:
Oct 15, 2015, 5:09:53 PM (3 years ago)
Author:
dstrubbe@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/cppcheck/Portfile

    r141224 r141299  
    4747notes                       "If you've updated cppcheck from a previous version," \
    4848                            "you may want to replace the included config files:" \
    49                             "sudo find /opt/local/share/cppcheck -type f -name \"*.cfg.dist\" -exec bash -c 'f=\"\{\}\"; mv \"\$f\" \"\$\{f%.cfg.dist\}.cfg\"' \\;"
     49                            "sudo find /opt/local/share/cppcheck -type f -name \"*.cfg.dist\" -exec bash -c 'f=\"\{\}\"; cp \"\$f\" \"\$\{f%.cfg.dist\}.cfg\"' \\;"
    5050
    5151post-destroot {
Note: See TracChangeset for help on using the changeset viewer.