]> git.tdb.fi Git - builder.git/blobdiff - source/copy.cpp
Implement --build-all
[builder.git] / source / copy.cpp
index 1f764dc038045575bb526c44939fcad4ac72add5..0607b5de5b0d59c0bb3c285f9e0e48fee48eb80c 100644 (file)
@@ -1,5 +1,6 @@
 #include <errno.h>
 #include <fstream>
+#include <iostream>
 #include <msp/path/utils.h>
 #include "builder.h"
 #include "copy.h"
@@ -25,7 +26,10 @@ Copy::Copy(Builder &b, const Package &pkg, const Path::Path &s, const Path::Path
 int Copy::check()
 {
        if(!worker)
+       {
+               signal_done.emit();
                return 0;
+       }
        
        if(worker->get_done())
        {