Skip to content

Commit

Permalink
Fixed bug when the output path for packages may contain : e.g. like…
Browse files Browse the repository at this point in the history
… absolute path from %cd% ~ D:\path\...

This is also related for Issue #6 because we can use this as an alternative with absolute path.
  • Loading branch information
3F committed Jul 21, 2018
1 parent 053c49e commit 7bebfe4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions logic.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!--
GetNuTool - github.com/3F/GetNuTool
========================
The lightweight non-binary NuGet Client as a portable & embeddable tool for work with NuGet packages via basic MSBuild.
Embeddable Package Manager.
All versions and documentation here:
https://github.com/3F/GetNuTool/blob/master/README.md
-->
Expand Down Expand Up @@ -203,11 +203,11 @@
File.Delete(tmp);
};
//Format: id/version[:path];id2/version[:path];...
//Format: id/version[:path];id2/version[:D:/path];...
foreach(var pkg in plist.Split(';'))
{
var ident = pkg.Split(':');
var ident = pkg.Split(new char[] { ':' }, 2);
var link = ident[0];
var path = (ident.Length > 1) ? ident[1] : null;
var name = link.Replace('/', '.');
Expand Down

0 comments on commit 7bebfe4

Please sign in to comment.