diff --git a/Meta/WPT.sh b/Meta/WPT.sh index b4233f51e84..8446520c0ce 100755 --- a/Meta/WPT.sh +++ b/Meta/WPT.sh @@ -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;