Closed longlostbro closed 2 years ago
That is really weird, any reason for that ? can anyone else confirm that's the case for them too ?
That is really weird, any reason for that ? can anyone else confirm that's the case for them too ?
Yes, i just signed up for an account to comment I had the exact same issue last night on Ubuntu 22.04. I tried modifying some of the script but didn't get far (I'm not very familiar with bash).
src/setup.sh: 7: Bad substitution
src/setup.sh: 47: Syntax error: "(" unexpected (expecting "}")
That is really weird, any reason for that ? can anyone else confirm that's the case for them too ?
Yes, i just signed up for an account to comment I had the exact same issue last night on Ubuntu 22.04. I tried modifying some of the bash script but didn't get far.
src/setup.sh: 7: Bad substitution
src/setup.sh: 47: Syntax error: "(" unexpected (expecting "}")
Can you try again now ? I've updated the README.md, please confirm whether it has fixed your issue or not, if not your bash version might be outdated (most likely not since you are running the latest version of Ubuntu)
That worked! I think that's the most likely answer because I triple checked and it didn't seem like anything was wrong with the code itself (again, not the best source for that though).
That worked! I think that's the most likely answer because I triple checked and it didn't seem like anything was wrong with the code itself (again, not the best source for that though).
Okay, Great ! Closing the issue for now as it seems resolved, if someone have explanation to why src/ doesn't work and ./src/ works please let me know.
Problem: sudo bash src/setup.sh not working
Error reported: Syntax error: "(" unexpected
Workaround: sudo bash ./src/setup.sh