Changeset 312 for tbroadcast


Ignore:
Timestamp:
Nov 12, 2006, 2:01:51 PM (18 years ago)
Author:
garonne
Message:

add + for ignoring error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tbroadcast/v2.0.3/python/tbroadcast.py

    r311 r312  
    495495    def generate_make (self, file, command):
    496496        makefile = open (file, 'w+')
     497        makefile.write ('MAKE= make \n')
     498        #MFLAGS= -j10
    497499        self.counter = len(self.packages)
    498500        self.recursive_make (self.current_package, command, makefile, len(self.packages))
     
    519521        newcommand = string.replace (command, '<package>', package)       
    520522        if command =='':
    521             newcommand='$(COMMAND)'
     523            newcommand='$(MAKE)'
    522524        lines = lines + '\n'
    523525        lines = lines +  '\t@echo "#--------------------------------------------------------------"\n'
     
    525527        lines = lines +  '\t@echo "#--------------------------------------------------------------"\n'
    526528        lines = lines + '\t+@cd ' + self.packages[package]['path']           
    527         lines = lines + ' ;' + newcommand               
     529        lines = lines + ' &&' + newcommand               
    528530        lines = lines + '\n\n'
    529531        return lines
Note: See TracChangeset for help on using the changeset viewer.