From b48fd66678a98b915888cc84976399ac17164370 Mon Sep 17 00:00:00 2001 From: samricotta <37125168+samricotta@users.noreply.github.com> Date: Wed, 19 Jun 2024 10:06:05 +0200 Subject: [PATCH] docs: update script to fix copying issue (#20720) --- docs/pre.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pre.sh b/docs/pre.sh index 622c3cd6d3..0be94c2bf8 100755 --- a/docs/pre.sh +++ b/docs/pre.sh @@ -7,7 +7,7 @@ for D in ../x/*; do # Skip specific directories if [[ "$DIR_NAME" != "counter" ]]; then - MODULE_DIRECTORY=build/modules/$DIR_NAME + MODULE_DIRECTORY=docs/build/modules/$DIR_NAME rm -rf "$MODULE_DIRECTORY" mkdir -p "$MODULE_DIRECTORY" if [ -f "$D"/README.md ]; then