Skip to content

Conversation

mtesseract
Copy link

@mtesseract mtesseract commented Oct 19, 2022

Apparently the Makefile currently does not handle whitespaces correctly in PATH.

Switched to branch 'main'
Your branch is up to date with 'origin/main'.
➜  helmtest git:(main) ✗ PATH="/foo bar/bin:/usr/local/bin:/bin:/usr/bin" make go-generated-srcs     
env: bar/bin:/usr/local/bin:/bin:/usr/bin: No such file or directory
make: *** [deps] Error 127
➜  helmtest git:(main) ✗ PATH="/foo/bar/bin:/usr/local/bin:/bin:/usr/bin" make go-generated-srcs
+ deps
go: finding module for package github.com/stackrox/rox/pkg/buildinfo
^Cmake: *** [deps] Interrupt: 2

➜  helmtest git:(main) ✗ sb
Switched to branch 'mc/makefile-path-fix'
Your branch is up to date with 'origin/mc/makefile-path-fix'.
➜  helmtest git:(mc/makefile-path-fix) ✗ PATH="/foo bar/bin:/usr/local/bin:/bin:/usr/bin" make go-generated-srcs
+ deps
go: finding module for package github.com/stackrox/rox/pkg/buildinfo
^Cmake: *** [deps] Interrupt: 2

@mtesseract mtesseract requested a review from misberner October 19, 2022 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant