Skip to content

Commit bbad38b

Browse files
committed
Merge pull request opencv#19376 from alalek:fixup_19105
2 parents 413febf + d5447d8 commit bbad38b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/js_tutorials/js_setup/js_setup/js_setup.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,20 +287,20 @@ So, make sure [docker](https://www.docker.com/) is installed in your system and
287287
@code{.bash}
288288
git clone https://github.com/opencv/opencv.git
289289
cd opencv
290-
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emcmake python3 ./dev/platforms/js/build_js.py build_js
290+
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emcmake python3 ./platforms/js/build_js.py build_js
291291
@endcode
292292

293293
In Windows use the following PowerShell command:
294294

295295
@code{.bash}
296-
docker run --rm --workdir /src -v "$(get-location):/src" "emscripten/emsdk" emcmake python3 ./dev/platforms/js/build_js.py build_js
296+
docker run --rm --workdir /src -v "$(get-location):/src" "emscripten/emsdk" emcmake python3 ./platforms/js/build_js.py build_js
297297
@endcode
298298

299299
@warning
300300
The example uses latest version of emscripten. If the build fails you should try a version that is known to work fine which is `2.0.10` using the following command:
301301

302302
@code{.bash}
303-
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk:2.0.10 emcmake python3 ./dev/platforms/js/build_js.py build_js
303+
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk:2.0.10 emcmake python3 ./platforms/js/build_js.py build_js
304304
@endcode
305305

306306
### Building the documentation with Docker
@@ -324,5 +324,5 @@ docker build . -t opencv-js-doc
324324
Now run the build command again, this time using the new image and passing `--build_doc`:
325325

326326
@code{.bash}
327-
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) "opencv-js-doc" emcmake python3 ./dev/platforms/js/build_js.py build_js --build_doc
327+
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) "opencv-js-doc" emcmake python3 ./platforms/js/build_js.py build_js --build_doc
328328
@endcode

0 commit comments

Comments
 (0)