SDL_mixer: Make sure touch-autofoo.sh touches files in the correct directory (ed6fc)

From ed6fcb63fb81d3f792eba146eb395bf8e4ae953b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 1 Jan 2025 10:59:28 -0800
Subject: [PATCH] Make sure touch-autofoo.sh touches files in the correct
 directory

(cherry picked from commit 2046518ded5bd010ec45a7daef4357a933dcdb77)
---
 build-scripts/touch-autofoo.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-scripts/touch-autofoo.sh b/build-scripts/touch-autofoo.sh
index edd5db3e..386158e5 100755
--- a/build-scripts/touch-autofoo.sh
+++ b/build-scripts/touch-autofoo.sh
@@ -4,4 +4,5 @@
 # autotools generated files, so that the build procedure
 # doesn't attempt to regenerate them.
 
+cd `dirname $0`
 touch aclocal.m4 configure Makefile.in