Skip to content

Too general .svn exclusion rule [172] #172

Closed

Description

@timosachsenberg

Submitted by aly_st on 2010-08-09 22:05:38

To exclude svn system folder from packaging, some cmake files use
install(... REGEX ".svn" EXCLUDE).
This REGEX, however, would match any path containing 'svn' at ANY position + 1 additional character in the beginning: "asvn", 'abcsvnxy" etc. See [http://cmake.org/cmake/help/cmake2.6docs.html#command:install install() docs].
Instead, PATTERN ".svn" should be used.

The patch is attached.


Commented by cbielow on 2010-08-10 11:15:09:
I remember we tried using PATTERN when writing the script but some Cmake-bug (back in 2.6.x) made us use REGEX instead. The looks good though... we'll investigate.


Commented by cbielow on 2010-08-11 18:15:24:
** fixed in [7189](by code reusage - only remaining occurences are cmake/install_common.cmake and drag_n_drop installer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build Systemdefectminor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions