Skip to content

Commit

Permalink
.NET: Fix resources placement
Browse files Browse the repository at this point in the history
  • Loading branch information
agdavydov81 committed Oct 31, 2023
1 parent e083e87 commit f284941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csharp/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ void NativeRename(string srcPath, string dstPath)
continue;

var toDirectory = fileDirectory;
if (toDirectory.EndsWith("/linux/musl", StringComparison.OrdinalIgnoreCase))
toDirectory = toDirectory.Substring(0, toDirectory.Length - 4) + "amd64";
if (toDirectory.EndsWith("/linux/musl-gcc", StringComparison.OrdinalIgnoreCase))
toDirectory = toDirectory.Substring(0, toDirectory.Length - 8) + "amd64";

toDirectory = toDirectory.Replace("/" + srcPath + "/", "/" + dstPath + "/");
CreateDirectory(toDirectory);
Expand Down

0 comments on commit f284941

Please sign in to comment.