Browse Source

ENH: fix error in if statement

Bill Hoffman 19 years ago
parent
commit
372b6932ed
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Tests/SimpleInstall/CMakeLists.txt
  2. 1 1
      Tests/SimpleInstallS2/CMakeLists.txt

+ 1 - 1
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)

+ 1 - 1
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)