Read spark.version for version information

This commit is contained in:
Eric Harding committed 2018-06-08 09:26:21 -04:00
1 parent 152c79a4a9
commit e9f3e92f82
1 file changed
+1 -6
+1 -6
View File
@@ -191,12 +191,7 @@ void ConfigurationState::initialize_builtins()
}
// Version string
std::string install_path = os::get_install_path();
std::string app_version_file = install_path + "/edge.version";
if (!boost::filesystem::exists(app_version_file))
{
app_version_file = install_path + "/blue2.version";
}
std::string app_version_file = os::get_install_path() + "/spark.version";
if (boost::filesystem::exists(app_version_file))
{
std::ifstream input(app_version_file.c_str(), std::ifstream::in);