Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatible shell #69

Closed
nobody4t opened this issue Jul 14, 2019 · 7 comments
Closed

incompatible shell #69

nobody4t opened this issue Jul 14, 2019 · 7 comments
Assignees

Comments

@nobody4t
Copy link
Contributor

I try to run through the docs. when to run run_tests, I got the error:

./scripts/run_tests: [[: not found

As I found the in the script that this shell script just uses sh not bash. And [[ ... ]] is not good. I would advise to the syntax consistent.

My os is: ubuntu 18.04, bash and amd64. Is this anything which should be fixed?

@swcurran
Copy link
Member

Definitely should be bash. Will need to address this.

@nobody4t
Copy link
Contributor Author

Yes, I think so. Let me make a pr for this.

@swcurran
Copy link
Member

FYI - here is the low down on single vs. double square braces in bash:

https://stackoverflow.com/questions/13542832/difference-between-single-and-double-square-brackets-in-bash

We should be using just a single [ in the scripts and definitely all should be running bash only. If it works with other shells, that's good, but bash is the target.

I'm going to update the demo script (./run_demo in the demo folder), but the rest should be addressed as well.

@swcurran swcurran self-assigned this Jul 15, 2019
@nobody4t
Copy link
Contributor Author

@swcurran
I have composed a patch for this. If you did not do it, let me do this.

@swcurran
Copy link
Member

Sure - go for it. Thanks! @dongwangdw

@nobody4t
Copy link
Contributor Author

nobody4t commented Jul 16, 2019

@swcurran

#72

@nrempel
Copy link
Contributor

nrempel commented Jul 17, 2019

Thank you @dongwangdw! The patch has been merged and is available in the latest release.

@nrempel nrempel closed this as completed Jul 17, 2019
cjhowland pushed a commit to cjhowland/aries-cloudagent-python that referenced this issue Aug 23, 2022
…blic-did

fix: remove implementation of RouteManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants