Skip to content

Commit

Permalink
fix geekbench claim url
Browse files Browse the repository at this point in the history
  • Loading branch information
masonr authored Jan 2, 2025
1 parent 729cb55 commit 0ec2a2a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions yabs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Yet Another Bench Script by Mason Rowe
# Initial Oct 2019; Last update Dec 2024
# Initial Oct 2019; Last update Jan 2025

# Disclaimer: This project is a work in progress. Any errors or suggestions should be
# relayed to me via the GitHub project page linked below.
Expand All @@ -12,7 +12,7 @@
# performance via fio. The script is designed to not require any dependencies
# - either compiled or installed - nor admin privileges to run.

YABS_VERSION="v2024-12-20"
YABS_VERSION="v2025-01-01"

echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
echo -e '# Yet-Another-Bench-Script #'
Expand Down Expand Up @@ -947,9 +947,8 @@ function launch_geekbench {
fi
else
# if the Geekbench test succeeded, parse the test results URL
GEEKBENCH_URL=$(echo -e "$GEEKBENCH_TEST" | head -1)
GEEKBENCH_URL_CLAIM=$(echo "$GEEKBENCH_URL" | awk '{ print $2 }')
GEEKBENCH_URL=$(echo "$GEEKBENCH_URL" | awk '{ print $1 }')
GEEKBENCH_URL=$(echo -e "$GEEKBENCH_TEST" | head -1 | awk '{ print $1 }')
GEEKBENCH_URL_CLAIM=$(echo -e "$GEEKBENCH_TEST" | tail -1 | awk '{ print $1 }')
# sleep a bit to wait for results to be made available on the geekbench website
sleep 10
# parse the public results page for the single and multi core geekbench scores
Expand Down

0 comments on commit 0ec2a2a

Please sign in to comment.