-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include <msp/strings/formatter.h>
+#include <msp/fs/utils.h>
+#include <msp/strings/format.h>
#include "component.h"
#include "sharedlibrary.h"
#include "sourcepackage.h"
break;
}
- return format("%s.%s", name, ver.substr(0, i));
+ return format("%s.%s", FS::basename(path), ver.substr(0, i));
}