Skip to content

Commit

Permalink
Account for macOS's "/private"
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <michael@openrobotics.org>
  • Loading branch information
mjcarroll committed Sep 7, 2021
1 parent 93b2650 commit 50bd4ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TempDirectory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ TempDirectory::TempDirectory(const std::string &_prefix,
this->dataPtr->isValid = true;
common::chdir(this->dataPtr->path);
}
this->dataPtr->path = common::cwd();
}

/////////////////////////////////////////////////
Expand Down

0 comments on commit 50bd4ad

Please sign in to comment.