swoole / docker-swoole

🏄 Official Docker Image of Swoole
https://hub.docker.com/r/phpswoole/swoole
Apache License 2.0
534 stars 113 forks source link

Run example.sh command throw error. #16

Closed tubitzee closed 4 years ago

tubitzee commented 4 years ago

When i tried to run an example command, e.g., './bin/example.sh start 01 ' , i had got an error message like that.

find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments. find: paths must precede expression: `1'

When i had replaced file ./bin/example.sh line 20 find examples -type d -depth 1 -name "${2}-*" with find examples -type d -name "${2}-*" , it worked.

deminy commented 4 years ago

Please pull latest code from the master branch and try again.

tubitzee commented 4 years ago

Thank your very much.