HelloZeroNet / HelloZeroNet/ZeroBundle

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

Open
#21 1 comment 0 reactions 1 assignee Claimed by @HelloZeroNet View on GitHub
bug
Dominant language
Python
Stars
111
Forks
34
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.