From 73a653ae93365f2df9668519dd4fc1063cbe5386 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Tue, 2 Dec 2025 15:39:12 -0600 Subject: [PATCH] Fixed cfbs build on OpenBSD, tar -xf command needed -z to decompress tar -xf is not complete enough on OpenBSD so add -z: tar -xzf Ticket: ENT-13565 Changelog: title --- cfbs/internal_file_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfbs/internal_file_management.py b/cfbs/internal_file_management.py index b4a0a636..4c30fb95 100644 --- a/cfbs/internal_file_management.py +++ b/cfbs/internal_file_management.py @@ -232,7 +232,7 @@ def fetch_archive( # TODO: use Python modules instead of CLI tools? if archive_type.startswith(_SUPPORTED_TAR_TYPES): if shutil.which("tar"): - sh("cd %s; tar -xf %s" % (content_dir, archive_path)) + sh("cd %s; tar -xzf %s" % (content_dir, archive_path)) else: raise CFBSExitError("Working with .tar archives requires the 'tar' utility") elif archive_type == (".zip"):