Skip to content

Commit

Permalink
2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
abumq committed Mar 28, 2018
1 parent ebcdccf commit 9ba280e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.1.2] - 28-03-2018
### Fixes
- Fix `RESIDUE_HOME` if not available

## [2.1.1] - 27-03-2018
### Updates
- Moved exceptions out of include for native bindings
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ option (special_edition "Special edition build" OFF)

set (RESIDUE_MAJOR "2")
set (RESIDUE_MINOR "1")
set (RESIDUE_PATCH "1")
set (RESIDUE_PATCH "2")

set (RESIDUE_SOVERSION "${RESIDUE_MAJOR}.${RESIDUE_MINOR}.${RESIDUE_PATCH}")
set (RESIDUE_NAME "Residue-C++")
Expand Down
2 changes: 1 addition & 1 deletion src/residue.cc
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void Residue::loadConnectionFromJson_(const std::string& connectionJson)

std::string& Residue::resolveResidueHomeEnvVar(std::string& str)
{
auto pos = str.find_first_of("$RESIDUE_HOME");
auto pos = str.find("$RESIDUE_HOME");
if (pos != std::string::npos) {
std::string val = m_homepath.empty() ?
el::base::utils::OS::getEnvironmentVariable("RESIDUE_HOME", "", "echo $RESIDUE_HOME") :
Expand Down

0 comments on commit 9ba280e

Please sign in to comment.