[Python-checkins] r53539 - sandbox/trunk/setuptools/setuptools/command/bdist_egg.py

phillip.eby python-checkins at python.org
Wed Jan 24 16:22:12 CET 2007


Author: phillip.eby
Date: Wed Jan 24 16:22:12 2007
New Revision: 53539
Modified:
 sandbox/trunk/setuptools/setuptools/command/bdist_egg.py
Log:
Fix "bashism" in eggsecutable header.
Modified: sandbox/trunk/setuptools/setuptools/command/bdist_egg.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/bdist_egg.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/bdist_egg.py	Wed Jan 24 16:22:12 2007
@@ -305,7 +305,7 @@
 
 header = (
 "#!/bin/sh\n"
- 'if [[ `basename 0ドル` = "%(basename)s" ]]\n'
+ 'if [ `basename 0ドル` = "%(basename)s" ]\n'
 'then exec python%(pyver)s -c "'
 "import sys, os; sys.path.insert(0, os.path.abspath('0ドル')); "
 "from %(pkg)s import %(base)s; sys.exit(%(full)s())"


More information about the Python-checkins mailing list

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