Fix compressdoc bug (#11777)

Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
This commit is contained in:
Ed Reel
2025-04-19 23:44:00 -05:00
committed by GitHub
parent 4dde019cfc
commit 5ed09e3a98
2 changed files with 2 additions and 2 deletions

View File

@@ -760,7 +760,7 @@ def compress_doc(dir)
# check whether crew should compress
return if CREW_NOT_COMPRESS || @pkg.no_compress? || !File.file?("#{CREW_PREFIX}/bin/compressdoc") || !Dir.exist?(dir)
system 'compressdoc', '--zstd', @short_verbose, dir
system "compressdoc --zstd #{@short_verbose} #{dir}"
end
def prepare_package(destdir)

View File

@@ -3,7 +3,7 @@
require 'etc'
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
CREW_VERSION ||= '1.58.3' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
CREW_VERSION ||= '1.58.4' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
# Kernel architecture.
KERN_ARCH ||= Etc.uname[:machine]