]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: fix incorrect shell substitution in docker run example command
authorJohan Eliasson <jeliasson@users.noreply.github.com>
Mon, 7 Apr 2025 20:20:29 +0000 (22:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Apr 2025 14:13:30 +0000 (16:13 +0200)
Corrected the volume mount path in the Docker run example by replacing
`(pwd)` with the shell substitution syntax `$(pwd)`. This ensures the
current working directory is properly mounted into the container.

Closes #16990

Dockerfile

index ccd94b1d1ee5825d69b218c2a99e8af90ede187d..7972337dcffadfeb09b99ab84596e942e15910eb 100644 (file)
@@ -17,7 +17,7 @@
 #
 # or get into a shell in the build environment, for example
 #
-#   docker run --rm -it -u $(id -u):$(id -g) -v (pwd):/usr/src -w /usr/src curl/curl bash
+#   docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl bash
 #   $ autoreconf -fi
 #   $ ./configure --without-ssl --without-libpsl
 #   $ make