Skip to content

Commit d6a3f93

Browse files
committed
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.
1 parent 0feb8c3 commit d6a3f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/plat-mac/bundlebuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def __load():
263263
main="${resdir}/%(mainprogram)s"
264264
PYTHONPATH="$resdir"
265265
export PYTHONPATH
266-
exec "${executable}" "${main}" "${1}"
266+
exec "${executable}" "${main}" "$@"
267267
"""
268268

269269

0 commit comments

Comments
 (0)