Spaces in $PATH cause a problem with running MAJA under WSL
System information
- OS Platform and Distribution: Ubuntu 20.10 (WSL2, Windows Subsystem for Linux)
- Maja installed from: source
- Maja version: develop branch
- Maja commit sha: latest
- Complementary info: cmake 3.16.3, gcc/c++ 10.2.0
Describe the current behavior
Spaces in $PATH cause a problem with running MAJA under Windows Subsystem for Linux because of unquoted assignment
export PATH=@MY_MAJA_PATH_DIRS@:$PATH
in majaenv.sh.in
Urgency/Criticity
- Urgency (Select Low/Medium/High): High
- Criticity (Select Low/Medium/High): High
Correction
Replace export PATH=@MY_MAJA_PATH_DIRS@:$PATH
to export PATH="@MY_MAJA_PATH_DIRS@:$PATH"