SpiNNakerManchester / SupportScripts

Development scripts for the SpiNNaker project
Apache License 2.0
0 stars 2 forks source link

Error in setup.sh and setup_sudo.sh #22

Closed DennisZemela closed 4 years ago

DennisZemela commented 5 years ago

Hello

Today I installed the SpiNNaker Software on my Laptop with the latest versions from the git-repositories. Unfortunately the setup.sh and the setup_sudo.sh scripts did not work giving me the following error:

_File "setup.sh", line 4 dosetup() { ^ SyntaxError: invalid syntax

Removing the semicolon after Conda_Prefix in line 7 solved the problem:

    if [ -z "$VIRTUAL_ENV" ] && [ -z "$CONDA_PREFIX" ]; && [ -z "$ASROOT" ]; then

Best regards Dennis

andrewgait commented 5 years ago

Hi Dennis,

Have fixed setup.sh in https://github.com/SpiNNakerManchester/SupportScripts/pull/23 - as far as I can see, setup_sudo.sh is working, though - did you get an error there too?

DennisZemela commented 5 years ago

Hello Andrew

I'm sorry, I meant the setup_install.sh script instead of the setup_sudo.sh. I was not checking the setup_sudo.sh then.

Thank you for handling the issue

andrewgait commented 5 years ago

Hi Dennis - thanks, missed that one as well, have fixed it now (NB: committed straight to master).