Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "./start.sh: 43: [[: not found" on WSL #333

Open
ikarth opened this issue Nov 18, 2024 · 0 comments
Open

Error "./start.sh: 43: [[: not found" on WSL #333

ikarth opened this issue Nov 18, 2024 · 0 comments

Comments

@ikarth
Copy link

ikarth commented Nov 18, 2024

Running sh ./start.sh on WSL leads to an error:

RESET_PIPELINES_DIR is not set to true. No action taken.
./start.sh: 43: [[: not found
PIPELINES_REQUIREMENTS_PATH not specified. Skipping installation of requirements.
./start.sh: 116: Syntax error: redirection unexpected

The key here is the [[: not found error, which is caused by sh not understanding [[ in the .sh file.

Running the file with bash ./start.sh works, so there's an easy workaround available, but I'm documenting this here in case someone else encounters the same problem.

@ikarth ikarth changed the title Error ./start.sh: 43: [[: not found on WSL Error ./start.sh: 43: [[: not found on WSL Nov 18, 2024
@ikarth ikarth changed the title Error ./start.sh: 43: [[: not found on WSL Error "./start.sh: 43: [[: not found" on WSL Nov 18, 2024
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

No branches or pull requests

1 participant