Skip to content

Commit

Permalink
Allow to install packages that have "native" in package name - fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Jul 20, 2016
1 parent e3aeb0a commit 4387218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 3.8.2 - 20.07.2016
* BUGFIX: Allow to install packages that have "native" in package name - https://github.com/fsprojects/Paket/issues/1829

#### 3.8.1 - 20.07.2016
* PERFORMANCE: Much faster computation of the InstallModel

Expand Down
2 changes: 1 addition & 1 deletion src/Paket.Core/Utils.fs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ let inline createRelativePath root path =
uri.MakeRelativeUri(Uri path).ToString().Replace("/", "\\").Replace("%20", " ")

let getNative (path:string) =
if path.Contains "native" |> not && path.Contains "runtimes" |> not then "" else
if path.Contains "/native/" |> not && path.Contains "/runtimes/" |> not then "" else
if path.Contains "/x86/debug" then "x86/debug" else
if path.Contains "/x86/release" then "/x86/release" else
if path.Contains "/arm/debug" then "/arm/debug" else
Expand Down

0 comments on commit 4387218

Please sign in to comment.