Make error message more specific
This commit is contained in:
parent
9ac55f79d1
commit
61b85b2664
2 changed files with 10 additions and 1 deletions
|
|
@ -71,7 +71,11 @@ elif which docker > /dev/null; then
|
|||
emscripten/emsdk:$emscripen_version \
|
||||
emcc"
|
||||
else
|
||||
echo 'You must have either `docker` or `emcc` on your PATH to run this script'
|
||||
if [[ "$force_docker" == "1" ]]; then
|
||||
echo 'You must have `docker` on your PATH to run this script with --docker'
|
||||
else
|
||||
echo 'You must have either `docker` or `emcc` on your PATH to run this script'
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue