From 256269afb37cc6f0ac72ca0920721bcbf877d489 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Thu, 27 Jun 2024 13:35:03 +0200 Subject: [PATCH] sdl2-config.in: use backtics instead of $() for older shells /bin/sh of Solaris does not understand $() --- sdl2-config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdl2-config.in b/sdl2-config.in index f6eca7668c..b41fc1697a 100644 --- a/sdl2-config.in +++ b/sdl2-config.in @@ -1,10 +1,10 @@ #!/bin/sh # Get the canonical path of the folder containing this script -bindir=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)") +bindir=`cd -P -- "\`dirname -- "$0"\`" && printf '%s\n' "\`pwd -P\`"` # Calculate the canonical path of the prefix, relative to the folder of this script -prefix=$(cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "$(pwd -P)") +prefix=`cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "\`pwd -P\`"` exec_prefix=@exec_prefix@ exec_prefix_set=no libdir=@libdir@