summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2019-07-05 09:50:38 (GMT)
committerRolf Eike Beer <eb@emlix.com>2019-07-05 14:24:58 (GMT)
commit3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f (patch)
tree6e389939fce105242a08cf1dfc5ae215c357e506 /Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake
parent09cf0520794d3716c0931584f908a575cd8b59d0 (diff)
downloadCMake-3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f.zip
CMake-3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f.tar.gz
CMake-3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f.tar.bz2
CPackComponentsDEB test: simplify if() arguments
Diffstat (limited to 'Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake')
-rw-r--r--Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake b/Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake
index d2fbc91..06d24c4 100644
--- a/Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake
+++ b/Tests/CPackComponentsDEB/RunCPackVerifyResult-compression.cmake
@@ -40,13 +40,13 @@ if(DPKGDEB_EXECUTABLE)
)
# message(FATAL_ERROR "output = '${dpkg_output}'")
- if("${dpkg_output}" STREQUAL "")
+ if(dpkg_output STREQUAL "")
set(dpkgdeb_output_errors_all "${dpkgdeb_output_errors_all}"
"dpkg-deb: ${_f}: empty content returned by dpkg-deb")
endif()
endforeach()
- if(NOT "${dpkgdeb_output_errors_all}" STREQUAL "")
+ if(NOT dpkgdeb_output_errors_all STREQUAL "")
message(FATAL_ERROR "dpkg-deb checks failed:\n${dpkgdeb_output_errors_all}")
endif()
else()