mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00: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:
parent
115e5f42af
commit
117ff3778a
Notes:
github-actions[bot]
2025-07-17 08:52:29 +00:00
Author: https://github.com/tcl3
Commit: 117ff3778a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5468
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue