Allow to run empty recipes in platform.txt

This commit is contained in:
Cristian Maglie 2014-07-28 18:40:53 +02:00
parent 66c6d49325
commit 1a167b7a6f
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ public abstract class Uploader implements MessageConsumer {
}
protected boolean executeUploadCommand(String command[]) throws Exception {
// Skip empty commands
if (command == null || command.length == 0)
return true;
notFoundError = false;
int result = -1;