summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-02-02 18:56:37 +0000
committerJust van Rossum <just@letterror.com>2003-02-02 18:56:37 +0000
commit9af6968b9066f1be419d09d68af0d0659a7ba991 (patch)
tree975b0bfcba8b5e5d8574931a6d93cab7933271f5
parent0bc93f5c8ba8204e1cdd89c20bc0600af4446b5a (diff)
downloadcpython-git-9af6968b9066f1be419d09d68af0d0659a7ba991.tar.gz
jeez, now I know why I shouldn't even _want_ to learn sh.
-rwxr-xr-xLib/plat-mac/bundlebuilder.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index 58f75d7a18..a90a19434f 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -254,13 +254,13 @@ STRIP_EXEC = "/usr/bin/strip"
BOOTSTRAP_SCRIPT = """\
#!/bin/sh
-execdir=$(dirname ${0})
+execdir=$(dirname "${0}")
executable=${execdir}/%(executable)s
-resdir=$(dirname ${execdir})/Resources
+resdir=$(dirname "${execdir}")/Resources
main=${resdir}/%(mainprogram)s
PYTHONPATH=$resdir
export PYTHONPATH
-exec ${executable} ${main} ${1}
+exec "${executable}" "${main}" "${1}"
"""
@@ -619,7 +619,7 @@ Options:
-p, --plist=FILE .plist file (default: generate one)
--nib=NAME main nib name
-c, --creator=CCCC 4-char creator code (default: '????')
- --iconfile=FILE filename of the icon (an .icns file) to be used
+ --iconfile=FILE filename of the icon (an .icns file) to be used
as the Finder icon
-l, --link symlink files/folder instead of copying them
--link-exec symlink the executable instead of copying it