From: Nathan Moinvaziri Date: Wed, 28 Sep 2022 16:38:06 +0000 (-0700) Subject: Use short decompress option name for gzip compatibility. #1347 X-Git-Tag: 2.1.0-beta1~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b46217d458a144742937a370b2cd2dd0f2fd92e;p=thirdparty%2Fzlib-ng.git Use short decompress option name for gzip compatibility. #1347 Long option names in BusyBoxy is an optional feature, so use short option names by default. --- diff --git a/test/cmake/compress-and-verify.cmake b/test/cmake/compress-and-verify.cmake index 856f2cb35..e79c50c4f 100644 --- a/test/cmake/compress-and-verify.cmake +++ b/test/cmake/compress-and-verify.cmake @@ -173,7 +173,7 @@ if(GZIP_VERIFY AND NOT "${COMPRESS_ARGS}" MATCHES "-T") endif() # Check gzip can decompress our compressed output - set(GZ_DECOMPRESS_COMMAND ${GZIP} --decompress) + set(GZ_DECOMPRESS_COMMAND ${GZIP} -d) message(STATUS "Gzip decompress ${GZ_DECOMPRESS_COMMAND}") message(STATUS " Input: ${OUTPUT_BASE}.gz")