*/
#include <msp/fs/dir.h>
+#include <msp/fs/stat.h>
#include <msp/fs/utils.h>
#include "archive.h"
#include "builder.h"
FS::Path lpath=lib.get_path();
if(!builder.get_dry_run())
+ {
FS::mkpath(FS::dirname(lpath), 0755);
+ if(FS::exists(lib.get_path()))
+ FS::unlink(lib.get_path());
+ }
announce(comp.get_package().get_name(), tool, relative(lpath, work_dir).str());