HelloZeroNet / HelloZeroNet/ZeroBundle
python shell script can't handle files with spaces in it
Ouverte
bug
- Langage dominant
- Python
- Étoiles
- 111
- Forks
- 34
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.