diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-09-15 11:21:39 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-09-15 11:21:39 -0400 |
| commit | 00e824fd0460d5275fc6c6730dd701623f3492c3 (patch) | |
| tree | 1eb5a32834edc89162a7bb73c4b4aee4f6a97a81 /src/Propellor/Gpg.hs | |
| parent | 0d93f4f12c4c7d0a37dc2e6f792ce0f9dde793db (diff) | |
avoid a change to readProcess that I regretted in the morning
Seems better to keep handle encoding issues out of that module.
Diffstat (limited to 'src/Propellor/Gpg.hs')
| -rw-r--r-- | src/Propellor/Gpg.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Gpg.hs b/src/Propellor/Gpg.hs index 24743d40..f2ae8f9a 100644 --- a/src/Propellor/Gpg.hs +++ b/src/Propellor/Gpg.hs @@ -99,7 +99,7 @@ gitCommit ps = do gpgDecrypt :: FilePath -> IO String gpgDecrypt f = ifM (doesFileExist f) - ( readProcess "gpg" ["--decrypt", f] + ( writeReadProcessEnv "gpg" ["--decrypt", f] Nothing Nothing (Just fileEncoding) , return "" ) |
