Skip to content

Commit

Permalink
Merge pull request #52 from muflihun/develop
Browse files Browse the repository at this point in the history
2.1.2
  • Loading branch information
abumq authored Mar 28, 2018
2 parents 251b535 + 9ba280e commit da3bc69
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 da3bc69

Please sign in to comment.