diff options
author | Adam Strzelecki <ono@java.pl> | 2014-09-03 19:42:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-10-10 14:15:56 (GMT) |
commit | 6c313797418a90f4e108a04e9b9e70b1c32e74ff (patch) | |
tree | 30dca02073e3c8b88462d4071026af0279fab517 /Modules/TestForSTDNamespace.cxx | |
parent | f640b2a41f9c421f4e29fefaaa6e317d6cd962e0 (diff) | |
download | CMake-6c313797418a90f4e108a04e9b9e70b1c32e74ff.zip CMake-6c313797418a90f4e108a04e9b9e70b1c32e74ff.tar.gz CMake-6c313797418a90f4e108a04e9b9e70b1c32e74ff.tar.bz2 |
BundleUtilities: Use find on UNIX for fast executable lookup
It makes whole executable process quicker on UNIX, especially for large bundles
containing many files, since using find narrows results to only files having
executable flags then all further tests follow.
Since find ... -perm +0111 is not clearly POSIX compliant and some Linux
versions refuse it, it is better to use longer but portable:
find ... -perm \( -perm -0100 -o -perm -0010 -o -perm -0001 \)
Diffstat (limited to 'Modules/TestForSTDNamespace.cxx')
0 files changed, 0 insertions, 0 deletions