]> git.tdb.fi Git - builder.git/blobdiff - source/lib/installedfile.cpp
Remove the now obsolete install_filename from FileTarget
[builder.git] / source / lib / installedfile.cpp
index 6e45ad27efc66ac65d8e9643b1763c75a4811a17..ef7a7709e6335ba2f2682c5af6b71ed7e4524101 100644 (file)
@@ -42,11 +42,7 @@ FS::Path InstalledFile::generate_target_path(const FS::Path &global_prefix, cons
        if(mid.empty())
                mid = tgt.get_install_location();
 
-       string fn = tgt.get_install_filename();
-       if(fn.empty())
-               fn = FS::basename(tgt.get_path());
-
-       return prefix/mid/fn;
+       return prefix/mid/FS::basename(tgt.get_path());
 }
 
 void InstalledFile::set_symlink(const FS::Path &l)