HelloZeroNet / HelloZeroNet/ZeroBundle

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

Aperta
#21 1 commento 0 reazioni 1 assegnatario Rivendicata da @HelloZeroNet Vedi su GitHub
bug
Lingua principale
Python
Stelle
111
Fork
34
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.