[Python-checkins] r76409 - in python/branches/py3k: Mac/BuildScript/scripts/postflight.patch-profile

ronald.oussoren python-checkins at python.org
Thu Nov 19 18:44:53 CET 2009


Author: ronald.oussoren
Date: Thu Nov 19 18:44:52 2009
New Revision: 76409
Log:
Merged revisions 76407 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk
........
 r76407 | ronald.oussoren | 2009年11月19日 18:42:51 +0100 (2009年11月19日) | 4 lines
 
 Don't use the '==' operator with test, that's an unportable bash-ism.
 
 (Issue 7179)
........
Modified:
 python/branches/py3k/ (props changed)
 python/branches/py3k/Mac/BuildScript/scripts/postflight.patch-profile
Modified: python/branches/py3k/Mac/BuildScript/scripts/postflight.patch-profile
==============================================================================
--- python/branches/py3k/Mac/BuildScript/scripts/postflight.patch-profile	(original)
+++ python/branches/py3k/Mac/BuildScript/scripts/postflight.patch-profile	Thu Nov 19 18:44:52 2009
@@ -36,10 +36,10 @@
 # Now ensure that our bin directory is on $P and before /usr/bin at that
 for elem in `echo $P | tr ':' ' '`
 do
-	if [ "${elem}" == "${PYTHON_ROOT}/bin" ]; then
+	if [ "${elem}" = "${PYTHON_ROOT}/bin" ]; then
 		echo "All right, you're a python lover already"
 		exit 0
-	elif [ "${elem}" == "/usr/bin" ]; then
+	elif [ "${elem}" = "/usr/bin" ]; then
 		break
 	fi
 done


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /