From 7d77d0182b538c46268acce5e430ecd9eec0a473 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 24 Dec 2018 02:30:54 +0300 Subject: [PATCH] Suppress output of emconfigure. GitOrigin-RevId: f93b2d80db360e3a8c2e7143e65dd19ce63798e3 --- example/web/build-openssl.sh | 2 +- example/web/build-tdlib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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