diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-05 20:27:44 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-05 20:27:44 (GMT) |
commit | 24e6ffae3605f54c4ef75a151206fec14ab06ec0 (patch) | |
tree | cc37c51a28bee38b5bcae531d85324d67070c89c /Tests/BundleTest/BundleLib.cxx | |
parent | cf80510ac523a33f2ca2970208f028382cf956a7 (diff) | |
download | CMake-24e6ffae3605f54c4ef75a151206fec14ab06ec0.zip CMake-24e6ffae3605f54c4ef75a151206fec14ab06ec0.tar.gz CMake-24e6ffae3605f54c4ef75a151206fec14ab06ec0.tar.bz2 |
BUG: If the source file specified is not in a source tree, do not use full path to the file
Diffstat (limited to 'Tests/BundleTest/BundleLib.cxx')
-rw-r--r-- | Tests/BundleTest/BundleLib.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/BundleTest/BundleLib.cxx b/Tests/BundleTest/BundleLib.cxx index bc757b1..4f353fb 100644 --- a/Tests/BundleTest/BundleLib.cxx +++ b/Tests/BundleTest/BundleLib.cxx @@ -51,8 +51,10 @@ int foo(char *exec) { int res1 = findBundleFile(exec, "Resources/randomResourceFile.plist"); int res2 = findBundleFile(exec, "MacOS/SomeRandomFile.txt"); + int res3 = findBundleFile(exec, "MacOS/ChangeLog.txt"); if ( !res1 || - !res2 ) + !res2 || + !res3 ) { return 1; } |