Read spark.version for version information
This commit is contained in:
1 parent
152c79a4a9
commit
e9f3e92f82
1 file changed
+1
-6
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user