specify makensis path in build script

This commit is contained in:
Joey Hess 2013-05-17 14:06:47 -04:00
parent ddf98cd644
commit b1b332592f
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ main = do
let license = tmpdir </> licensefile
mustSucceed "sh" [Param "-c", Param $ "zcat standalone/licences.gz > '" ++ license ++ "'"]
writeFile nsifile $ makeInstaller gitannex license
mustSucceed "C:\\Program Files\\NSIS\\makensis" [File nsifile]
mustSucceed "makensis" [File nsifile]
removeFile nsifile -- left behind if makensis fails
where
nsifile = "git-annex.nsi"

View file

@ -9,7 +9,7 @@ set -e
HP="/c/Program Files (x86)/Haskell Platform/2012.4.0.0"
FLAGS="-Webapp -Assistant -XMPP"
PATH="$HP/bin:$HP/lib/extralibs/bin:$PATH"
PATH="$HP/bin:$HP/lib/extralibs/bin:/c/Program Files (x86)/NSIS:$PATH"
# Run a command in the cygwin environment.
incygwin () {