From d349cb2c9af0805848162719469be65bf484fd4a Mon Sep 17 00:00:00 2001 From: Diego Pino Garcia Date: Wed, 25 Mar 2026 15:31:24 +0100 Subject: [PATCH] ci: Rewrite hardcoded path 'robot_framework/html' Construct path as parent dir of 'init-robot.sh' script plus 'html' directory. Maintenance-Type: ci,unreviewed-change --- .ci/robot_framework/init-robot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/robot_framework/init-robot.sh b/.ci/robot_framework/init-robot.sh index 65708369..e9eb7dd0 100755 --- a/.ci/robot_framework/init-robot.sh +++ b/.ci/robot_framework/init-robot.sh @@ -2,6 +2,8 @@ LOCKFILE="/tmp/init-robot.lock" +ROBOT_FRAMEWORK_HTML="$(dirname "$0")/html" + # Create lock and ensure removal on exit trap 'rm -f "$LOCKFILE"' EXIT if [ -e "$LOCKFILE" ]; then @@ -31,7 +33,7 @@ pip install --root-user-action ignore \ robotframework-seleniumlibrary==6.8.0 \ robotframework-sshlibrary==3.8.0 -pushd robot_framework/html/ +pushd "$ROBOT_FRAMEWORK_HTML" if [ ! -d "rbyers" ]; then git clone https://github.com/RByers/rbyers.github.io.git rbyers fi