[Scummvm-git-logs] scummvm master -> 023b6fd42a61e7253a4aa2f54a59b8b9bad31bf0

lephilousophe lephilousophe at users.noreply.github.com
Sun Nov 15 16:10:26 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
023b6fd42a CONFIGURE: Don't use bashism in pure shell script


Commit: 023b6fd42a61e7253a4aa2f54a59b8b9bad31bf0
    https://github.com/scummvm/scummvm/commit/023b6fd42a61e7253a4aa2f54a59b8b9bad31bf0
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2020-11-15T17:07:59+01:00

Commit Message:
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.

Changed paths:
    configure


diff --git a/configure b/configure
index b0ad6355f8..6b897eee14 100755
--- a/configure
+++ b/configure
@@ -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
 




More information about the Scummvm-git-logs mailing list