HelloZeroNet / HelloZeroNet/ZeroBundle

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

オープン
#21 コメント 1 件 リアクション 0 件 担当者 1 名 @HelloZeroNet が担当を希望しています GitHub で見る
bug
主要言語
Python
スター
111
フォーク
34
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。