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

« back to all changes in this revision

Viewing changes to setup/build.py

  • Committer: wagrant
  • Date: 2008-09-18 09:23:56 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1050
setup: Don't give possible options in the top-level usage string.
setup.build: Bail out if there is no jail and we've not been told to
             build one.
setup.setuputil: Don't import pysvn except where it is needed, so we
                 can at least display the usage without extra deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        print >>sys.stderr, "(I need to chroot)."
80
80
        return 1
81
81
    
 
82
    if not rebuildjail and not os.path.exists('jail'):
 
83
        print >> sys.stderr, "No jail exists -- please rerun with -j."
 
84
        return 1
 
85
 
82
86
    # Find out the revison number
83
87
    revnum = get_svn_revision()
84
88
    print "Building Revision %s"%str(revnum)