mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Use suffix instead of fp (PEBKAC)
This commit is contained in:
parent
8dc6c65b9d
commit
904c3f3e70
@ -103,7 +103,7 @@ createCompressor rawdir gzdir cachedir = do
|
||||
return $ void $ tryPutMVar baton ()
|
||||
where
|
||||
go fp = liftIO $ handle (print . asSomeException) $ do
|
||||
gzipHash cachedir fp (gzdir </> fp)
|
||||
gzipHash cachedir fp (gzdir </> suffix)
|
||||
where
|
||||
Just suffix = F.stripPrefix (rawdir </> "") fp
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user