Public bug reported:

I am running wsl with ubuntu 18.04(tried with 16.04 too). I installed OpenFoam 
and sourced it in .bashrc. 
but when I run source $HOME/.bashrc, I get the error below.   

-bash: eval: line 38: syntax error near unexpected token `('
-bash: eval: line 38: 
`PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath_target_313789484:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:Files/Intel/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:Files/Intel/Intel(R):Components/IPT:(x86)/NVIDIA:Corporation/PhysX/Common:Files/Microsoft:SQL:Server/130/Tools/Binn:Server/120/Tools/Binn:Files/Git/cmd:Files/PuTTY:(x86)/Windows:Live/Shared:Files/Common:Files/Autodesk:Shared:(x86)/Autodesk/Backburner:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/delaq/AppData/Local/Microsoft/WindowsApps:/snap/bin:'
-bash: eval: line 62: syntax error near unexpected token `('
-bash: eval: line 62: 
`PATH=/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/openmpi-1.10.4/bin:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64/gcc-6.3.0/bin:/home/dela/OpenFOAM/dela-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/site/v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/wmake:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/gperftools-2.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath_target_313789484:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:Files/Intel/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:Files/Intel/Intel(R):Components/IPT:(x86)/NVIDIA:Corporation/PhysX/Common:Files/Microsoft:SQL:Server/130/Tools/Binn:Server/120/Tools/Binn:Files/Git/cmd:Files/PuTTY:(x86)/Windows:Live/Shared:Files/Common:Files/Autodesk:Shared:(x86)/Autodesk/Backburner:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/delaq/AppData/Local/Microsoft/WindowsApps:/snap/bin:'
-bash: eval: line 38: syntax error near unexpected token `('
-bash: eval: line 38: 
`PATH=/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/gperftools-2.5/bin:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc63/openmpi-1.10.4/bin:/home/dela/OpenFOAM/ThirdParty-v1806/platforms/linux64/gcc-6.3.0/bin:/home/dela/OpenFOAM/dela-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/site/v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/platforms/linux64Gcc63DPInt32Opt/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/bin:/home/dela/OpenFOAM/OpenFOAM-v1806/wmake:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath_target_313789484:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:Files/Intel/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:Files/Intel/Intel(R):Components/IPT:(x86)/NVIDIA:Corporation/PhysX/Common:Files/Microsoft:SQL:Server/130/Tools/Binn:Server/120/Tools/Binn:Files/Git/cmd:Files/PuTTY:(x86)/Windows:Live/Shared:Files/Common:Files/Autodesk:Shared:(x86)/Autodesk/Backburner:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/delaq/AppData/Local/Microsoft/WindowsApps:/snap/bin'


please I need help.
Thanks

** Affects: update-manager-core (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1780366

Title:
  sourcing in .bashrc error on windows  Version 10.0.17134 Build 17134

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/1780366/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to