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

« back to all changes in this revision

Viewing changes to ivle/makeuser.py

  • Committer: William Grant
  • Date: 2009-02-25 07:22:25 UTC
  • Revision ID: grantw@unimelb.edu.au-20090225072225-b4l5xu3t9gz6xd4e
ivle.makeuser.make_jail() no longer depends on jails_base and jails_src_base
being on the same filesystem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
        raise Exception("Must run make_jail as root")
194
194
    
195
195
    # tempdir is for putting backup homes in
196
 
    tempdir = os.path.join(ivle.conf.jail_base, '__temp__')
 
196
    tempdir = os.path.join(ivle.conf.jail_src_base, '__temp__')
197
197
    if not os.path.exists(tempdir):
198
198
        os.makedirs(tempdir)
199
199
    elif not os.path.isdir(tempdir):