ln from stack install location to nsis location

This commit is contained in:
Joey Hess 2017-10-25 00:14:53 -04:00
parent 3761f5a052
commit edcce072a6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -41,6 +41,7 @@ main = do
withTmpDir "nsis-build" $ \tmpdir -> do
let gitannex = tmpdir </> gitannexprogram
mustSucceed "stack" [Param "--local-bin-path", File ".", Param "install"]
mustSucceed "ln" [File "git-annex.exe", File gitannex]
let license = tmpdir </> licensefile
mustSucceed "sh" [Param "-c", Param $ "zcat standalone/licences.gz > '" ++ license ++ "'"]
webappscript <- vbsLauncher tmpdir "git-annex-webapp" "git annex webapp"