Skip to content

Commit

Permalink
Merge pull request #319 from fp7/master
Browse files Browse the repository at this point in the history
Relativize symlink to npmScriptFile
  • Loading branch information
Sten Roger Sandvik authored Mar 16, 2019
2 parents ae1c640 + 5a392ad commit a987e56
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ class SetupTask
Path npm = Paths.get( variant.nodeBinDir.path, 'npm' )
if ( Files.deleteIfExists( npm ) )
{
Files.createSymbolicLink( npm, Paths.get( variant.npmScriptFile ) )
Files.createSymbolicLink(
npm,
variant.nodeBinDir.toPath().relativize(Paths.get(variant.npmScriptFile)))
}
}
}
Expand Down

0 comments on commit a987e56

Please sign in to comment.