txthinking / google-hosts

Google hosts generator
https://www.txthinking.com
MIT License
3.33k stars 1.25k forks source link

can't run with auto.sh #94

Closed joshua86z closed 8 years ago

joshua86z commented 8 years ago

MacBook-Air:~ joshua$ cd google-hosts/scripts && ./auto.sh usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]] [-e pattern] [-f file] [--binary-files=value] [--color=when] [--context[=num]] [--directories=action] [--label] [--line-buffered] [--null] [pattern] [file ...] no output directory.

How do I?

txthinking commented 8 years ago

https://github.com/txthinking/google-hosts/blob/master/scripts/README.md

armysheng commented 8 years ago

依赖都没有问题,同样报错

txthinking commented 8 years ago

同样报错 是指错误信息和上面一样吗

On Thu, Nov 3, 2016 at 4:56 PM armysheng notifications@github.com wrote:

依赖都没有问题,同样报错

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/txthinking/google-hosts/issues/94#issuecomment-258090050, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLyz0YUHHeosdiouIePN3Lkkba0GZ6rks5q6aHKgaJpZM4HdYSx .

armysheng commented 8 years ago

只报了 no output directory.

txthinking commented 8 years ago

请提供更详细的步骤 $ step 1 ...output... $ step 2 ...output... $ step 3 ...output...

On Thu, Nov 3, 2016 at 5:01 PM armysheng notifications@github.com wrote:

只报了 no output directory.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/txthinking/google-hosts/issues/94#issuecomment-258090851, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLyz2T_ENlU8N6vabm-qHTDSZCtESm0ks5q6aLfgaJpZM4HdYSx .

armysheng commented 8 years ago

只echo了一句这个话no output directory.,我已经找了份hosts手动改了, thanks any way.

txthinking commented 8 years ago

我只能猜测你的情况可能是 https://github.com/txthinking/google-hosts/blob/master/scripts/auto.sh#L8 这一行的8.8.4.4在你的网络下是不通的,可尝试将auto.sh里的8.8.4.4替换为其他你可以连接的境外某DNS.

On Thu, Nov 3, 2016 at 5:10 PM armysheng notifications@github.com wrote:

只echo了一句这个话no output directory.,我已经找了份hosts手动改了, thanks any way.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/txthinking/google-hosts/issues/94#issuecomment-258092518, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLyz-w0PO_MCHMsTJbR8dCRHrRU-uI2ks5q6aUUgaJpZM4HdYSx .