From 923e3ee8080b3d91a0aa643408127c95aa2375e9 Mon Sep 17 00:00:00 2001 From: GoodDok Date: Sat, 4 May 2024 02:56:13 +0300 Subject: [PATCH] Fix 25202: surrounding $PWD with double quotes Added double quotes to work correctly with spaces in current directory's name --- docs/building-linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/building-linux.md b/docs/building-linux.md index 393bd854ac..e8a0b050b8 100644 --- a/docs/building-linux.md +++ b/docs/building-linux.md @@ -20,7 +20,7 @@ Install [poetry](https://python-poetry.org), go to ***BuildPath*** and run Go to ***BuildPath*/tdesktop** and run (using [your **api_id** and **api_hash**](#obtain-your-api-credentials)) docker run --rm -it \ - -v $PWD:/usr/src/tdesktop \ + -v "$PWD:/usr/src/tdesktop" \ tdesktop:centos_env \ /usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \ -D TDESKTOP_API_ID=YOUR_API_ID \ @@ -29,7 +29,7 @@ Go to ***BuildPath*/tdesktop** and run (using [your **api_id** and **api_hash**] Or, to create a debug build, run (also using [your **api_id** and **api_hash**](#obtain-your-api-credentials)) docker run --rm -it \ - -v $PWD:/usr/src/tdesktop \ + -v "$PWD:/usr/src/tdesktop" \ -e CONFIG=Debug \ tdesktop:centos_env \ /usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \