Skip to content

Commit 28886fe

Browse files
Merge pull request #291 from craigcomstock/ent-13565
Fixed cfbs build on OpenBSD, tar -xf command needed -z to decompress
2 parents 0015324 + 73a653a commit 28886fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cfbs/internal_file_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def fetch_archive(
232232
# TODO: use Python modules instead of CLI tools?
233233
if archive_type.startswith(_SUPPORTED_TAR_TYPES):
234234
if shutil.which("tar"):
235-
sh("cd %s; tar -xf %s" % (content_dir, archive_path))
235+
sh("cd %s; tar -xzf %s" % (content_dir, archive_path))
236236
else:
237237
raise CFBSExitError("Working with .tar archives requires the 'tar' utility")
238238
elif archive_type == (".zip"):

0 commit comments

Comments
 (0)