summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2007-01-24 15:22:12 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2007-01-24 15:22:12 +0000
commite35b92ecbd662245facfea6763dd5722b65337bc (patch)
treeb4a1e228a4f29defc8fea7442bc7ed1a2e8585bc /setuptools/command
parentdadbb81f102b50adb09ecb24acc6b5cc6b38656b (diff)
downloadpython-setuptools-e35b92ecbd662245facfea6763dd5722b65337bc.tar.gz
Fix "bashism" in eggsecutable header.
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@53539 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/bdist_egg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py
index f7128fd..2e9007c 100644
--- a/setuptools/command/bdist_egg.py
+++ b/setuptools/command/bdist_egg.py
@@ -305,7 +305,7 @@ class bdist_egg(Command):
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())"