forked from Lerer/veracode-sca
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello !
I have raised this via a support request too, but I want to raise it here just in case:
The ci.sh script that is downloaded via curl and piped into sh will cause errors if sh is pointing to a strict POSIX-compliant shell like dash.
We've seen it throw errors like
Error: stderr: sh: 81: [[: not found
Which shows that it doesn't support bash -style if blocks
A solution would be to add an input for the action, to specify which shell is piped the ci.sh script... But I'm not sure if that would work either, because:
- Downloads the sh script
- pipe to bash
- bash interprets the shebang that points to
#!/usr/bin/env sh - the env will return
dashinstead ofbashin the end... - error remains...
victorsalaun, ZackFarrellTR and NaurozNau
Metadata
Metadata
Assignees
Labels
No labels