mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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:
parent
0feb8c347e
commit
d6a3f93070
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ resdir=$(dirname "${execdir}")/Resources
|
|||
main="${resdir}/%(mainprogram)s"
|
||||
PYTHONPATH="$resdir"
|
||||
export PYTHONPATH
|
||||
exec "${executable}" "${main}" "${1}"
|
||||
exec "${executable}" "${main}" "$@"
|
||||
"""
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue