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

python shell script can't handle files with spaces in it #21

Open
anoadragon453 opened this issue Mar 10, 2019 · 1 comment
Open

python shell script can't handle files with spaces in it #21

anoadragon453 opened this issue Mar 10, 2019 · 1 comment
Assignees
Labels

Comments

@anoadragon453
Copy link

anoadragon453 commented Mar 10, 2019

The ZeroBundle/Python/python script has an issue on line 4 where it needs to wrap the $DIR/python2.7 part in double quotes. Otherwise it fails to start ZeroNet if it's in a path that has a space in it. This is what the entire file should look like instead:

#!/bin/bash
DIR=$(dirname "$0")
export SSL_CERT_FILE=$DIR/../ssl/cert.pem
"$DIR/python2.7" "$@

I'm not sure where to submit a PR for this hence the issue instead.

@HelloZeroNet
Copy link
Owner

Thanks for reporting, I will fix this with the python3 release

@HelloZeroNet HelloZeroNet self-assigned this Mar 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants