Skip to content

Commit 7479aff

Browse files
committed
fix: correct syft installation command to use shell piping instead of arguments
1 parent 13fbb33 commit 7479aff

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

dev-tools/scripts/install_dev_tools.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -353,17 +353,8 @@ def _install_trivy_generic(self):
353353
def _install_syft_generic(self):
354354
"""Install syft using their install script."""
355355
return self._run_command(
356-
[
357-
"curl",
358-
"-sSfL",
359-
"https://raw.githubusercontent.com/anchore/syft/main/install.sh",
360-
"|",
361-
"sh",
362-
"-s",
363-
"--",
364-
"-b",
365-
"/usr/local/bin",
366-
]
356+
"curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin",
357+
shell=True
367358
)
368359

369360
def _install_uv_generic(self):

0 commit comments

Comments
 (0)