Remove pushd/popd usage from scripts.
GitOrigin-RevId: 122f8ad7baac5df74cf0837e367fc33231c3d706
This commit is contained in:
parent
a05c43ceeb
commit
51f06cffe2
@ -24,20 +24,17 @@ OPENSSL_OPTIONS="-DOPENSSL_FOUND=1 \
|
|||||||
-DOPENSSL_LIBRARIES=\"$OPENSSL_SSL_LIBRARY;$OPENSSL_CRYPTO_LIBRARY\" \
|
-DOPENSSL_LIBRARIES=\"$OPENSSL_SSL_LIBRARY;$OPENSSL_CRYPTO_LIBRARY\" \
|
||||||
-DOPENSSL_VERSION=\"1.1.0j\""
|
-DOPENSSL_VERSION=\"1.1.0j\""
|
||||||
|
|
||||||
pushd .
|
|
||||||
cd build/wasm
|
cd build/wasm
|
||||||
eval emconfigure cmake $TD_ROOT $OPENSSL_OPTIONS || exit 1
|
eval emconfigure cmake $TD_ROOT $OPENSSL_OPTIONS || exit 1
|
||||||
popd
|
cd ../..
|
||||||
|
|
||||||
pushd .
|
|
||||||
cd build/asmjs
|
cd build/asmjs
|
||||||
eval emconfigure cmake $TD_ROOT $OPENSSL_OPTIONS -DASMJS=1 || exit 1
|
eval emconfigure cmake $TD_ROOT $OPENSSL_OPTIONS -DASMJS=1 || exit 1
|
||||||
popd
|
cd ../..
|
||||||
|
|
||||||
pushd .
|
|
||||||
cd build/generate
|
cd build/generate
|
||||||
cmake $TD_ROOT -GNinja || exit 1
|
cmake $TD_ROOT -GNinja || exit 1
|
||||||
popd
|
cd ../..
|
||||||
|
|
||||||
echo "Generating TDLib autogenerated source files..."
|
echo "Generating TDLib autogenerated source files..."
|
||||||
cmake --build build/generate --target prepare_cross_compiling || exit 1
|
cmake --build build/generate --target prepare_cross_compiling || exit 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pushd .
|
|
||||||
cd tdweb
|
cd tdweb
|
||||||
npm install || exit 1
|
npm install || exit 1
|
||||||
npm run build || exit 1
|
npm run build || exit 1
|
||||||
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user