SDL_ttf: Fixed test-versioning.sh in paths with spaces

From a001bcd672dad8dc45ea9137e01558abf995ff56 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 1 Jan 2025 12:05:31 -0800
Subject: [PATCH] Fixed test-versioning.sh in paths with spaces

---
 build-scripts/test-versioning.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-scripts/test-versioning.sh b/build-scripts/test-versioning.sh
index 591ac8ca..9c29b29c 100755
--- a/build-scripts/test-versioning.sh
+++ b/build-scripts/test-versioning.sh
@@ -4,7 +4,7 @@
 
 set -eu
 
-cd `dirname $0`/..
+cd "$(dirname $0)/.."
 
 # Needed so sed doesn't report illegal byte sequences on macOS
 export LC_CTYPE=C