projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adafdd
)
fix build on windows
author
Joey Hess
<joeyh@joeyh.name>
Wed, 2 Aug 2023 14:43:20 +0000
(10:43 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Wed, 2 Aug 2023 14:43:20 +0000
(10:43 -0400)
Utility/UserInfo.hs
patch
|
blob
|
history
diff --git
a/Utility/UserInfo.hs
b/Utility/UserInfo.hs
index b2c4ddaaf82eae240f39bb83fb8c60b6d37215fe..827229d22cf4bae7430701443921fb3f1fa39352 100644
(file)
--- a/
Utility/UserInfo.hs
+++ b/
Utility/UserInfo.hs
@@
-68,7
+68,7
@@
myVal envvars extract = go envvars
myVal :: [String] -> IO (Either String String)
myVal envvars = go envvars
where
- go [] = envnotset
+ go [] =
return
envnotset
go (v:vs) = maybe (go vs) (return . Right) =<< getEnv v
#endif
envnotset = Left ("environment not set: " ++ show envvars)