[PATCH yocto-autobuilder-helper 1/6] scripts: run-docs-build: transform argument paths into absolute paths

Quentin Schulz

From: Quentin Schulz <quentin.schulz@...>

The script is written in such a way that absolute paths are expected.
Instead of failing weirdly at some point in the script, let's just make
all paths passed to this script absolute by calling realpath on them.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
scripts/run-docs-build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index c501feb..6e25549 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -8,9 +8,9 @@ set -u
set -o pipefail
set -x

+builddir=$(realpath "$1")
+ypdocs=$(realpath "$2/documentation/")
+bbdocs=$(realpath "$3/doc/")
scriptdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.