diff options
author | Just van Rossum <just@letterror.com> | 2003-02-02 18:56:37 +0000 |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-02-02 18:56:37 +0000 |
commit | 9af6968b9066f1be419d09d68af0d0659a7ba991 (patch) | |
tree | 975b0bfcba8b5e5d8574931a6d93cab7933271f5 | |
parent | 0bc93f5c8ba8204e1cdd89c20bc0600af4446b5a (diff) | |
download | cpython-git-9af6968b9066f1be419d09d68af0d0659a7ba991.tar.gz |
jeez, now I know why I shouldn't even _want_ to learn sh.
-rwxr-xr-x | Lib/plat-mac/bundlebuilder.py | 8 |
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 |