try setting TMPDIR for collect2 to not use C:\Windows
This commit is contained in:
parent
5f859e648c
commit
656ae5f823
2 changed files with 5 additions and 1 deletions
|
@ -123,7 +123,7 @@ runAtFile p s f extraparams = do
|
||||||
when (null $ opts c) $
|
when (null $ opts c) $
|
||||||
error $ "failed to find any options for " ++ f ++ " in >>>" ++ s ++ "<<<"
|
error $ "failed to find any options for " ++ f ++ " in >>>" ++ s ++ "<<<"
|
||||||
writeFile f (opts c)
|
writeFile f (opts c)
|
||||||
print "in file: >>>" ++ (opts c) ++ "<<<"
|
print $ "in file: >>>" ++ (opts c) ++ "<<<"
|
||||||
out <- getOutput (cmd c) (atFile f:extraparams) (env c)
|
out <- getOutput (cmd c) (atFile f:extraparams) (env c)
|
||||||
removeFile f
|
removeFile f
|
||||||
return out
|
return out
|
||||||
|
|
|
@ -20,6 +20,10 @@ withcyg () {
|
||||||
# This tells git-annex where to upgrade itself from.
|
# This tells git-annex where to upgrade itself from.
|
||||||
UPGRADE_LOCATION=http://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe
|
UPGRADE_LOCATION=http://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe
|
||||||
|
|
||||||
|
mkdir tmp || true
|
||||||
|
TMPDIR=tmp
|
||||||
|
export TMPDIR
|
||||||
|
|
||||||
# Uncomment to get rid of cabal installed libraries.
|
# Uncomment to get rid of cabal installed libraries.
|
||||||
#rm -rf /c/Users/jenkins/AppData/Roaming/cabal /c/Users/jenkins/AppData/Roaming/ghc
|
#rm -rf /c/Users/jenkins/AppData/Roaming/cabal /c/Users/jenkins/AppData/Roaming/ghc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue