diff options
Diffstat (limited to 'Mac/scripts/PackLibDir.py')
| -rw-r--r-- | Mac/scripts/PackLibDir.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Mac/scripts/PackLibDir.py b/Mac/scripts/PackLibDir.py index cdda87d..e6cd656 100644 --- a/Mac/scripts/PackLibDir.py +++ b/Mac/scripts/PackLibDir.py @@ -77,14 +77,10 @@ def handlesubdir(handle, id, srcdir): if __name__ == '__main__': args = sys.argv[1:] if not args: - ifss, ok = macfs.StandardGetFile('PYC ') - if ok: - args = [ifss.as_pathname()] - else: - ifss, ok = macfs.GetDirectory() - if not ok: - sys.exit(0) - args = [ifss.as_pathname()] + ifss, ok = macfs.GetDirectory('Select root of tree to pack:') + if not ok: + sys.exit(0) + args = [ifss.as_pathname()] for ifn in args: ofss, ok = macfs.StandardPutFile('Output for '+os.path.split(ifn)[1]) if not ok: |
