mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Meta: Ensure the correct log file path is used with WPT.sh compare
Previously, using abolute paths with `WPT.sh compare` would fail, as directories were always assumed to be relative to the working directory.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
115e5f42af
commit
117ff3778a
Notes:
github-actions[bot]
2025-07-17 08:52:29 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/117ff3778a0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5468 Reviewed-by: https://github.com/gmta ✅
@@ -680,7 +680,7 @@ if [[ "$CMD" =~ ^(update|clean|run|serve|compare|import|list-tests)$ ]]; then
|
||||
;;
|
||||
|
||||
compare)
|
||||
INPUT_LOG_NAME="$(pwd -P)/$1"
|
||||
INPUT_LOG_NAME="$(realpath "$1")"
|
||||
if [ ! -f "$INPUT_LOG_NAME" ]; then
|
||||
echo "Log file not found: \"${INPUT_LOG_NAME}\""
|
||||
usage;
|
||||
|
||||
Reference in New Issue
Block a user