diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-03-06 22:46:25 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-03-06 22:46:25 (GMT) |
commit | c1463c98709bb62c6135f6e22afccdcc3fc765a7 (patch) | |
tree | d966b5128b9d669f07c88480a7d1f55e2c4e99f2 /Mac/scripts | |
parent | bb74f95821406c3fbd970561c719fa70c02521b5 (diff) | |
download | cpython-c1463c98709bb62c6135f6e22afccdcc3fc765a7.zip cpython-c1463c98709bb62c6135f6e22afccdcc3fc765a7.tar.gz cpython-c1463c98709bb62c6135f6e22afccdcc3fc765a7.tar.bz2 |
macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype).
Diffstat (limited to 'Mac/scripts')
-rw-r--r-- | Mac/scripts/ConfigurePython.py | 2 | ||||
-rw-r--r-- | Mac/scripts/fullbuild.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/scripts/ConfigurePython.py b/Mac/scripts/ConfigurePython.py index ec4dab4..aabaaf6 100644 --- a/Mac/scripts/ConfigurePython.py +++ b/Mac/scripts/ConfigurePython.py @@ -102,7 +102,7 @@ def buildcopy(top, dummy, list): for src, dst in list: src = os.path.join(top, src) dst = os.path.join(top, dst) - macostools.copy(src, dst) + macostools.copy(src, dst, forcetype="APPL") def main(): verbose = 0 diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index 4d18c08..3337512 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -167,7 +167,7 @@ def buildcopy(top, dummy, list): for src, dst in list: src = os.path.join(top, src) dst = os.path.join(top, dst) - macostools.copy(src, dst) + macostools.copy(src, dst, forcetype="APPL") def handle_dialog(filename): """Handle selection dialog, return list of selected items""" |