]>
Commit | Line | Data |
---|---|---|
90348172 AM |
1 | diff -urN pymacs-0.15.org/setup pymacs-0.15/setup |
2 | --- pymacs-0.15.org/setup Tue Jan 22 21:59:54 2002 | |
3 | +++ pymacs-0.15/setup Tue Jan 22 22:14:50 2002 | |
4 | @@ -43,7 +43,7 @@ | |
5 | ||
6 | def main(*arguments): | |
7 | import getopt | |
8 | - options, arguments = getopt.getopt(arguments, 'E:HP:Vb:eg:il:np:x:') | |
9 | + options, arguments = getopt.getopt(arguments, 'E:HP:Vb:eg:il:np:ux:') | |
10 | for option, value in options: | |
11 | if option == '-E' and value: | |
12 | run.emacs = value | |
13 | @@ -69,6 +69,8 @@ | |
14 | run.pythondir = [value] | |
15 | elif option == '-x' and value: | |
16 | run.pymacsdir = [value] | |
17 | + elif option == '-u': | |
18 | + run.dry = 1 | |
19 | study_possible() | |
20 | if run.interactive: | |
21 | check_with_user() | |
22 | @@ -209,17 +211,17 @@ | |
23 | def check_choices(): | |
24 | write = sys.stderr.write | |
25 | error = 0 | |
26 | - if run.bindir and os.access(os.path.expanduser(run.bindir[0]), 7): | |
27 | + if run.bindir: | |
28 | run.bindir = os.path.expanduser(run.bindir[0]) | |
29 | else: | |
30 | write("Use `-b BINDIR' to select where `pymacs-services' should go.\n") | |
31 | error = 1 | |
32 | - if run.lispdir and os.access(os.path.expanduser(run.lispdir[0]), 7): | |
33 | + if run.lispdir: | |
34 | run.lispdir = run.lispdir[0] | |
35 | else: | |
36 | write("Use `-l LISPDIR' to select where `pymacs.el' should go.\n") | |
37 | error = 1 | |
38 | - if run.pythondir and os.access(os.path.expanduser(run.pythondir[0]), 7): | |
39 | + if run.pythondir: | |
40 | run.pythondir = os.path.expanduser(run.pythondir[0]) | |
41 | else: | |
42 | write("Use `-p PYTHONDIR' to select where `pymacs.py' should go.\n") |