mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-12 17:34:06 +08:00
sdl2-config.in: use backtics instead of $() for older shells
/bin/sh of Solaris does not understand $()
This commit is contained in:
committed by
Anonymous Maarten
parent
2eeb39298e
commit
256269afb3
@@ -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@
|
||||
|
||||
Reference in New Issue
Block a user