Skip to content

Commit

Permalink
Merge pull request #164 from OctopusDeploy/bug-fix-package-path-on-linux
Browse files Browse the repository at this point in the history
Fix package path on linux
  • Loading branch information
tw17 authored Sep 6, 2019
2 parents 36a6308 + 8341ccc commit c559e1a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ string HashFile(string fullPath)

string ResolvePath(string path)
{
if (!PlatformDetection.IsRunningOnWindows)
{
path = path.Replace('\\', Path.DirectorySeparatorChar);
}

if (Path.IsPathRooted(path))
return fileSystem.GetFullPath(path);

Expand Down

0 comments on commit c559e1a

Please sign in to comment.