pipelines icon indicating copy to clipboard operation
pipelines copied to clipboard

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

Open ikarth opened this issue 1 year ago • 2 comments

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 avatar Nov 18 '24 00:11 ikarth

Thank you

cmcrabi avatar Nov 28 '24 01:11 cmcrabi

Lifesaver.

owaisafaq avatar Feb 03 '25 22:02 owaisafaq