Changeset 315 for tbroadcast


Ignore:
Timestamp:
Nov 13, 2006, 12:17:49 PM (18 years ago)
Author:
garonne
Message:

format output

File:
1 edited

Legend:

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

    r314 r315  
    495495    def generate_make (self, file, command):
    496496        makefile = open (file, 'w+')
    497         makefile.write ('MAKE= make \n')
     497        makefile.write ('MAKE=make\n')
    498498        #MFLAGS= -j10
    499499        self.counter = len(self.packages)
     
    527527        lines = lines +  '\t@echo "#--------------------------------------------------------------"\n'
    528528        lines = lines +  'ifdef LOCATION\n'
     529        lines = lines +  '\t@echo "#--------------------------------------------------------------"> $(LOCATION)/'+ package +'.loglog\n'       
     530        lines = lines +  '\t@echo "# ('+str(self.counter)+'/'+str(len(self.packages))+') Now trying ['+newcommand+'] in '+ self.packages[package]['path']+'">> $(LOCATION)/'+ package +'.loglog\n'
     531        lines = lines +  '\t@echo "#--------------------------------------------------------------">> $(LOCATION)/'+ package +'.loglog\n'
    529532        lines = lines + '\t+@cd ' + self.packages[package]['path']           
    530         lines = lines + ' && ' + newcommand + ' >& $(LOCATION)/'+ package +'.loglog\n'
     533        lines = lines + ' && ' + newcommand + ' >> $(LOCATION)/'+ package +'.loglog 2>&1\n'
    531534        lines = lines + 'else\n'
    532535        lines = lines + '\t+@cd ' + self.packages[package]['path']           
Note: See TracChangeset for help on using the changeset viewer.