Skip to content

Commit

Permalink
Trim trailing slashes from buildPath.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaser324 committed Jan 27, 2017
1 parent b9cc900 commit 59260df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Editor/Build/BuildProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ public static string GenerateBuildPath(string prototype, BuildReleaseType releas
{
string resolvedProto = ResolvePath(prototype, releaseType, buildPlatform, arch, dist, buildTime);
string buildPath = Path.Combine(BuildSettings.basicSettings.baseBuildFolder, resolvedProto);
buildPath = Path.GetFullPath(buildPath);
buildPath = Path.GetFullPath(buildPath).TrimEnd('\\').TrimEnd('/');


return buildPath;
}
Expand Down

0 comments on commit 59260df

Please sign in to comment.