X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffiletarget.cpp;h=2a60c2986bac2ec89f1454995f89283fe5d973da;hb=8932cbfa8cdb0b9edf9894bd4c56980dab0a2f4b;hp=decb4bf793d68015066e1dede84f044e340ae836;hpb=25900e0f84f72de6208f30529f9bcaae11570f8f;p=builder.git diff --git a/source/filetarget.cpp b/source/filetarget.cpp index decb4bf..2a60c29 100644 --- a/source/filetarget.cpp +++ b/source/filetarget.cpp @@ -10,10 +10,12 @@ using namespace std; using namespace Msp; FileTarget::FileTarget(Builder &b, const Package *p, const FS::Path &a): - Target(b, p, make_name(p, a)), + Target(b, make_name(p, a)), path(a), size(0) { + package = p; + builder.get_vfs().register_path(path, this); if(FS::Stat st = FS::lstat(path))