mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 23:31:57 +00:00
CONFIGURE: Don't use bashism in pure shell script
281b187de4de2b780b80a283ea933b0b9741d15a introduced ${//} bashism which doesn't work when /bin/sh isn't linked to bash. Use a more portable version with ${#} as "Version:" string is at beginning.
This commit is contained in:
parent
81be53ff5b
commit
023b6fd42a
2
configure
vendored
2
configure
vendored
@ -2909,7 +2909,7 @@ EOF
|
||||
cc_check_no_clean
|
||||
if $_strings $TMPO$HOSTEXEEXT | grep Version: >/dev/null; then
|
||||
_macos_min_version=`$_strings $TMPO$HOSTEXEEXT | grep Version:`
|
||||
_macos_min_version="${_macos_min_version/Version:/}"
|
||||
_macos_min_version="${_macos_min_version#Version:}"
|
||||
fi
|
||||
cc_check_clean
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user