From 372b6932ed5d7278bcdf2c3d6d206df0a01063ca Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 10 Aug 2006 23:20:58 -0400 Subject: ENH: fix error in if statement --- Tests/SimpleInstall/CMakeLists.txt | 2 +- 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) -- cgit v0.12