diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-11 03:20:58 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-11 03:20:58 (GMT) |
commit | 372b6932ed5d7278bcdf2c3d6d206df0a01063ca (patch) | |
tree | b7d8c356afd13abba3e195f8f845ca308dd5f19b /Tests | |
parent | 76d05cd5fa34e2a54f91f3388fe2849064c05b5e (diff) | |
download | CMake-372b6932ed5d7278bcdf2c3d6d206df0a01063ca.zip CMake-372b6932ed5d7278bcdf2c3d6d206df0a01063ca.tar.gz CMake-372b6932ed5d7278bcdf2c3d6d206df0a01063ca.tar.bz2 |
ENH: fix error in if statement
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index 05808a3..4df7f77 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -201,7 +201,7 @@ IF(UNIX AND NOT APPLE) else(NOT SKIP_TZ) message("compress found, but it was a script so dont use it") message("output from file command: [${output}]") - endif(NOT "${output}" MATCHES "script") + endif(NOT SKIP_TZ) ENDIF(found_compress) FIND_PROGRAM(found_bz2 NAMES bzip2) diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index 05808a3..4df7f77 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -201,7 +201,7 @@ IF(UNIX AND NOT APPLE) else(NOT SKIP_TZ) message("compress found, but it was a script so dont use it") message("output from file command: [${output}]") - endif(NOT "${output}" MATCHES "script") + endif(NOT SKIP_TZ) ENDIF(found_compress) FIND_PROGRAM(found_bz2 NAMES bzip2) |