From: Jack Jansen Date: Tue, 18 Feb 2003 11:24:31 +0000 (+0000) Subject: Use "$@" to pass arguments to Python in stead of "${1}". This passes all X-Git-Tag: v2.3c1~1806 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6a3f93070761e723eeb93b292a04dbfbf31565f;p=python 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. --- diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 9d50f9116f..9959c9598d 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}" "$@" """