equal
deleted
inserted
replaced
120 "cflags": ' '.join(cflags), |
120 "cflags": ' '.join(cflags), |
121 "md5": self.md5key, |
121 "md5": self.md5key, |
122 "buildpath": self.buildpath |
122 "buildpath": self.buildpath |
123 } |
123 } |
124 |
124 |
125 command = [ token % beremizcommand for token in target.getCommand().split(' ')] |
125 # clean sequence of multiple whitespaces |
|
126 cmd = re.sub(r"[ ]+", " ", target.getCommand()) |
|
127 |
|
128 command = [ token % beremizcommand for token in cmd.split(' ')] |
126 |
129 |
127 # Call Makefile to build PLC code and link it with target specific code |
130 # Call Makefile to build PLC code and link it with target specific code |
128 status, result, err_result = ProcessLogger(self.CTRInstance.logger, |
131 status, result, err_result = ProcessLogger(self.CTRInstance.logger, |
129 command).spin() |
132 command).spin() |
130 if status : |
133 if status : |