Ticket #49301: cppcheck.diff

File cppcheck.diff, 724 bytes (added by xythobuz@…, 9 years ago)
  • Portfile

    old new  
    4646
    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 {
    5252    xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1