HelloZeroNet / HelloZeroNet/ZeroBundle

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

Abierto
#21 1 comentario 0 reacciones 1 asignado Reclamado por @HelloZeroNet Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
111
Forks
34
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.