diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-18 11:24:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-18 11:24:31 (GMT) |
commit | d6a3f93070761e723eeb93b292a04dbfbf31565f (patch) | |
tree | 9f6d7c470a45106a42bf1f089e0933a7c7f5aa76 /Lib/plat-mac/bundlebuilder.py | |
parent | 0feb8c347e4fa4e8860b2fc4f95602cf6621ab09 (diff) | |
download | cpython-d6a3f93070761e723eeb93b292a04dbfbf31565f.zip cpython-d6a3f93070761e723eeb93b292a04dbfbf31565f.tar.gz cpython-d6a3f93070761e723eeb93b292a04dbfbf31565f.tar.bz2 |
Use "$@" to pass arguments to Python in stead of "${1}". This passes all
arguments, and also does the right thing for the no argument case.
Diffstat (limited to 'Lib/plat-mac/bundlebuilder.py')
-rwxr-xr-x | Lib/plat-mac/bundlebuilder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 9d50f91..9959c95 100755 --- a/Lib/plat-mac/bundlebuilder.py +++ b/Lib/plat-mac/bundlebuilder.py @@ -263,7 +263,7 @@ resdir=$(dirname "${execdir}")/Resources main="${resdir}/%(mainprogram)s" PYTHONPATH="$resdir" export PYTHONPATH -exec "${executable}" "${main}" "${1}" +exec "${executable}" "${main}" "$@" """ |