HelloZeroNet / HelloZeroNet/ZeroBundle

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

Đang mở
#21 1 bình luận 0 reaction 1 người được giao Được @HelloZeroNet nhận Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
111
Fork
34
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.