8000 make scanner-docs / hook-docs fails on macOS · Issue #754 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content

make scanner-docs / hook-docs fails on macOS #754

@malexmave

Description

@malexmave

🐞 Bug report

Running make scanner-docs or make hook-docs fails on OS X.

Describe the bug

$ make scanner-docs
# Start in the scanners folder
cd scanners
# https://github.com/koalaman/shellcheck/wiki/SC2044
find . -type f -name Chart.yaml -print0 | while IFS= read -r -d '' chart; do
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [scanner-docs] Error 2
$ make hook-docs
.: ⚙ Generate Helm Docs.
# Start in the hooks folder
cd hooks
# https://github.com/koalaman/shellcheck/wiki/SC2044
find . -type f -name Chart.yaml -print0 | while IFS= read -r -d '' chart; do
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [hook-docs] Error 2

Adding backslashes to the ends of all relevant lines of the make command results in new issues with "unexpected token: then", and fixing that results in errors where the variables aren't set correctly, so the cd fails etc. - it seems to be fairly fundamentally broken on OS X at the moment.

Steps To Reproduce

Run the command on OS X :).

System

OS X, zsh.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0