diff --git a/example/web/build-openssl.sh b/example/web/build-openssl.sh index 5209d0c9..de4f3e3f 100755 --- a/example/web/build-openssl.sh +++ b/example/web/build-openssl.sh @@ -1,6 +1,6 @@ #!/bin/sh -emconfigure || { echo 'emconfigure not found. Install Emscripten and add emconfigure and emmake to PATH environment variable'; exit 1; } +emconfigure 2> /dev/null || { echo 'emconfigure not found. Install emsdk and add emconfigure and emmake to PATH environment variable. See instruction at https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html. Do not forget to add `emconfigure` and `emmake` to the PATH environment variable via `emsdk/emsdk_env.sh` script.'; exit 1; } OPENSSL=OpenSSL_1_1_0j if [ ! -f $OPENSSL.tar.gz ]; then diff --git a/example/web/build-tdlib.sh b/example/web/build-tdlib.sh index 35cacee2..26587bf0 100755 --- a/example/web/build-tdlib.sh +++ b/example/web/build-tdlib.sh @@ -1,6 +1,6 @@ #!/bin/sh -emconfigure || { echo 'emconfigure not found. Install Emscripten and add emconfigure to PATH environment variable'; exit 1; } +emconfigure 2> /dev/null || { echo 'emconfigure not found. Install emsdk and add emconfigure and emmake to PATH environment variable. See instruction at https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html. Do not forget to add `emconfigure` and `emmake` to the PATH environment variable via `emsdk/emsdk_env.sh` script.'; exit 1; } rm -rf build/generate rm -rf build/asmjs