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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: mattgiuca
  • Date: 2008-01-31 04:51:36 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:349
setup.py: Changed so instead of directly calling gcc on the trampoline, calls
the Makefile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
581
581
        print "Dry run (no actions will be executed\n"
582
582
 
583
583
    # Compile the trampoline
584
 
    action_runprog('gcc', ['-Wall', '-o', 'trampoline/trampoline',
585
 
        'trampoline/trampoline.c'], dry)
 
584
    curdir = os.getcwd()
 
585
    os.chdir('trampoline')
 
586
    action_runprog('make', [], dry)
 
587
    os.chdir(curdir)
586
588
 
587
589
    # Create the jail and its subdirectories
588
590
    # Note: Other subdirs will be made by copying files