Skip to content

fix: which -s is an illegal option#12

Open
SomaticIT wants to merge 1 commit intoliquid-labs:masterfrom
SomaticIT:patch-1
Open

fix: which -s is an illegal option#12
SomaticIT wants to merge 1 commit intoliquid-labs:masterfrom
SomaticIT:patch-1

Conversation

@SomaticIT
Copy link
Copy Markdown

When I try to execute your program on WSL2 (Ubuntu 20.04), I get the following error:

Illegal option -s
Usage: /usr/bin/which [-a] args

I replaced it with:

if [[ -z "$(which perl)" ]]; then
#...

When I try to execute your program on WSL2 (Ubuntu 20.04), I get the following error:
```
Illegal option -s
Usage: /usr/bin/which [-a] args
```

I replaced it with:
```bash
if [[ -z "$(which perl)" ]]; then
#...
```
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