]> git.tdb.fi Git - builder.git/blobdiff - source/analyzer.cpp
Migrate from msppath to mspfs
[builder.git] / source / analyzer.cpp
index f694edb96198494aadcceeb258950417bb708c90..a86a9a219125d3458a22d349bfead7ed2aedc5e5 100644 (file)
@@ -8,8 +8,7 @@ Distributed under the LGPL
 #include <iomanip>
 #include <iostream>
 #include <sstream>
-#include <msp/path/path.h>
-#include <msp/path/utils.h>
+#include <msp/fs/utils.h>
 #include "analyzer.h"
 #include "builder.h"
 #include "install.h"
@@ -71,7 +70,7 @@ void Analyzer::build_depend_table(Target &tgt, unsigned depth)
        if(full_paths)
                fn=tgt.get_name();
        else
-               fn=basename(tgt.get_name());
+               fn=FS::basename(tgt.get_name());
        row.push_back(string(depth*2, ' ')+fn);
 
        const Package *pkg=tgt.get_package();