mirror of https://github.com/libsdl-org/SDL.git
sdl2-config.in: use backtics instead of $() for older shells
/bin/sh of Solaris does not understand $()
This commit is contained in:
parent
2eeb39298e
commit
256269afb3
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Get the canonical path of the folder containing this script
|
# 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
|
# 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=@exec_prefix@
|
||||||
exec_prefix_set=no
|
exec_prefix_set=no
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue