try setting TMPDIR for collect2 to not use C:\Windows

This commit is contained in:
Joey Hess 2013-12-10 12:53:37 -04:00
parent 5f859e648c
commit 656ae5f823
2 changed files with 5 additions and 1 deletions

View file

@ -123,7 +123,7 @@ runAtFile p s f extraparams = do
when (null $ opts c) $
error $ "failed to find any options for " ++ f ++ " in >>>" ++ s ++ "<<<"
writeFile f (opts c)
print "in file: >>>" ++ (opts c) ++ "<<<"
print $ "in file: >>>" ++ (opts c) ++ "<<<"
out <- getOutput (cmd c) (atFile f:extraparams) (env c)
removeFile f
return out