diff --git a/scripts/generate-docs.sh b/scripts/generate-docs.sh index 92066055d3..0d82fade81 100755 --- a/scripts/generate-docs.sh +++ b/scripts/generate-docs.sh @@ -17,7 +17,7 @@ set -e # Exit immediately if any command exits with a non-zero status. # 1. Configuration # ----------------------------------------------------------------------------- SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -PROJECT_ROOT="$(dirname "$(dirname "$SCRIPT_DIR")")" +PROJECT_ROOT="$(dirname "$SCRIPT_DIR")" cd "$PROJECT_ROOT" echo "📂 Working directory set to: $(pwd)"