mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
jeez, now I know why I shouldn't even _want_ to learn sh.
This commit is contained in:
parent
0bc93f5c8b
commit
9af6968b90
1 changed files with 4 additions and 4 deletions
|
|
@ -254,13 +254,13 @@ STRIP_EXEC = "/usr/bin/strip"
|
||||||
BOOTSTRAP_SCRIPT = """\
|
BOOTSTRAP_SCRIPT = """\
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
execdir=$(dirname ${0})
|
execdir=$(dirname "${0}")
|
||||||
executable=${execdir}/%(executable)s
|
executable=${execdir}/%(executable)s
|
||||||
resdir=$(dirname ${execdir})/Resources
|
resdir=$(dirname "${execdir}")/Resources
|
||||||
main=${resdir}/%(mainprogram)s
|
main=${resdir}/%(mainprogram)s
|
||||||
PYTHONPATH=$resdir
|
PYTHONPATH=$resdir
|
||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
exec ${executable} ${main} ${1}
|
exec "${executable}" "${main}" "${1}"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue