From e35b92ecbd662245facfea6763dd5722b65337bc Mon Sep 17 00:00:00 2001 From: "phillip.eby" Date: Wed, 24 Jan 2007 15:22:12 +0000 Subject: Fix "bashism" in eggsecutable header. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@53539 6015fed2-1504-0410-9fe1-9d1591cc4771 --- setuptools/command/bdist_egg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command') 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())" -- cgit v1.2.1