[Scummvm-cvs-logs] scummvm master -> 36d720d06b0ed5f736ca08230c5f37459395a83e

eriktorbjorn eriktorbjorn at telia.com
Sat Jun 18 08:29:26 CEST 2011


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:
36d720d06b CONFIGURE: Use = to test for string equality, not ==


Commit: 36d720d06b0ed5f736ca08230c5f37459395a83e
    https://github.com/scummvm/scummvm/commit/36d720d06b0ed5f736ca08230c5f37459395a83e
Author: eriktorbjorn (eriktorbjorn at users.sourceforge.net)
Date: 2011-06-17T23:26:55-07:00

Commit Message:
CONFIGURE: Use = to test for string equality, not ==

I think this is correct. It's consistent with how it's done in other
places in the configure script, and it silences a bunch of "unexpected
operator" warnings for me.

Changed paths:
    configure



diff --git a/configure b/configure
index 8b7feba..0afdbfe 100755
--- a/configure
+++ b/configure
@@ -65,7 +65,7 @@ get_var() {
 # Add an engine: id name build subengines
 add_engine() {
 	_engines="${_engines} ${1}"
-	if test "${3}" == "no" ; then
+	if test "${3}" = "no" ; then
 		set_var _wip_engines "${_wip_engines} ${1}"
 	fi
 	set_var _engine_${1}_name "${2}"






More information about the Scummvm-git-logs mailing list