]> git.tdb.fi Git - builder.git/blobdiff - source/datafile.cpp
Make install_location a path
[builder.git] / source / datafile.cpp
index 9a47703dd03dab819968e63109e1a0e07f0df353..2e9a7e5bcd067dfe79c2eaa936f627f49e935403 100644 (file)
@@ -10,7 +10,7 @@ DataFile::DataFile(Builder &b, const Component &c, File &s):
 {
        add_depend(&source);
 
-       install_location = "share/"+package->get_name();
+       install_location = Msp::FS::Path("share")/package->get_name();
 }
 
 Msp::FS::Path DataFile::generate_target_path(const Component &comp)