From 6a8effcaf0529082c1384029ea16b346a31f448e Mon Sep 17 00:00:00 2001 From: Hritik V Date: Mon, 24 Aug 2026 23:02:16 +0530 Subject: [PATCH] Use quoted variabled for path with spaces If $PWD contains spaces, the command breaks without quotes. Signed-off-by: Hritik V --- .../installation/install-scancode-using-docker.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/getting-started/installation/install-scancode-using-docker.rst b/docs/source/getting-started/installation/install-scancode-using-docker.rst index 43ba8cc918..ee0f3d4e5f 100644 --- a/docs/source/getting-started/installation/install-scancode-using-docker.rst +++ b/docs/source/getting-started/installation/install-scancode-using-docker.rst @@ -64,7 +64,7 @@ apache-2.0.LICENSE directory. The JSON results will be in scan-result.json .. code-block:: shell - docker run -v $PWD/:/project scancode-toolkit -clipeu --json-pp /project/scan-result.json /project/apache-2.0.LICENSE + docker run -v "$PWD/:/project" scancode-toolkit -clipeu --json-pp /project/scan-result.json /project/apache-2.0.LICENSE This will mount your current working from the host into ``/project`` in the container and then scan the contents. The output ``result.json`` will be written back to your