~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup/install.py

  • Committer: Matt Giuca
  • Date: 2009-04-22 05:14:58 UTC
  • Revision ID: matt.giuca@gmail.com-20090422051458-vh65hoaa3a54knxq
Stopped clobbering conf.py within the jail, using a proper ivle.conf instead.
Now works with Python 2.6 (and can have another version, possible 2.6, inside
the jail).

ivle/config/ivle-spec.conf: Added user_info section with in-jail variables.
ivle/makeuser: Writes a conf file (ivle.conf) instead of conf.py.
ivle/conf/conf.py: Added emulation layer bindings for the in-jail variables.
ivle-buildjail: No longer REMOVES the conf.py file (since it's just a normal
    source file now).

(--author Will)

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    # Prefix must be absolute (not really necessary, but since a relative
63
63
    # prefix will be taken relative to *root* not working directory, it is
64
64
    # confusing if we allow it).
 
65
    print options.prefix[:1]
65
66
    if options.prefix[:1] not in (os.path.sep, os.path.altsep):
66
67
        print >>sys.stderr, """prefix must be an absolute path.
67
68
    (This will be interpreted relative to root, so provide --root=. if you