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.
This commit is contained in:
Jack Jansen 2003-02-18 11:24:31 +00:00
parent 0feb8c347e
commit d6a3f93070

View file

@ -263,7 +263,7 @@ resdir=$(dirname "${execdir}")/Resources
main="${resdir}/%(mainprogram)s"
PYTHONPATH="$resdir"
export PYTHONPATH
exec "${executable}" "${main}" "${1}"
exec "${executable}" "${main}" "$@"
"""