From fceaf7cbc61ef24a18070c3c48ce30784ad1e586 Mon Sep 17 00:00:00 2001 From: Hashem Hashem Date: Tue, 16 Aug 2022 18:42:39 +0200 Subject: [PATCH] fix(sgshellcheck): untar local archive Decompressing using xz is not enough, we also need to extract the tarball. --- tools/sgshellcheck/tools.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/sgshellcheck/tools.go b/tools/sgshellcheck/tools.go index 77d60353..e790fee9 100644 --- a/tools/sgshellcheck/tools.go +++ b/tools/sgshellcheck/tools.go @@ -87,6 +87,7 @@ func PrepareCommand(ctx context.Context) error { if err := sgtool.FromLocal( ctx, decompressedArchive, + sgtool.WithUntar(), sgtool.WithSkipIfFileExists(binary), sgtool.WithDestinationDir(binDir), sgtool.WithSymlink(binary),