From 854495dae9af656a570a1a14304c6707cb573559 Mon Sep 17 00:00:00 2001 From: Kyle Benne Date: Fri, 10 Nov 2023 15:02:06 -0600 Subject: [PATCH] Fix issue with openstudio measure -r Passing a relative path to the measure testing option was not working properly. This change expands to the canonical path. close #5021 --- src/cli/MeasureUpdateCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/MeasureUpdateCommand.cpp b/src/cli/MeasureUpdateCommand.cpp index e66e6a4dc85..8d84d79cf6e 100644 --- a/src/cli/MeasureUpdateCommand.cpp +++ b/src/cli/MeasureUpdateCommand.cpp @@ -393,7 +393,7 @@ if result != 0 return 1 end )ruby", - opt.directoryPath.generic_string()); + openstudio::filesystem::canonical(opt.directoryPath).generic_string()); rubyEngine->exec(runTestCmd); } }