Skip to content

Commit

Permalink
(GH-232) Pack includes files from nuspec directory
Browse files Browse the repository at this point in the history
Instead of starting at the current directory to use files for the nuspec, use
the nuspec directory as the starting path to look at files.
  • Loading branch information
ferventcoder committed Apr 11, 2015
1 parent f810e18 commit f21091c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void pack_run(ChocolateyConfiguration config)
// Initialize the property provider based on what was passed in using the properties flag
var propertyProvider = new DictionaryPropertyProvider(properties);

var basePath = _fileSystem.get_current_directory();
var basePath = nuspecDirectory;
if (config.Information.PlatformType != PlatformType.Windows)
{
//bug with nuspec and tools/** folder location on Windows.
Expand Down

0 comments on commit f21091c

Please sign in to comment.