mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-11-28 22:19:38 +03:00
Fix invocation of RepoTool.bootstrapOrUpdate
This commit is contained in:
parent
03c7683c13
commit
2af2c24b1f
@ -16,13 +16,13 @@ updateRepo :: FilePath -> FilePath -> IO ()
|
||||
updateRepo keysDir repoDir = do
|
||||
keysLoc <- KeysLoc <$> makeAbsolute (fromFilePath keysDir)
|
||||
repoLoc <- RepoLoc <$> makeAbsolute (fromFilePath repoDir)
|
||||
RepoTool.bootstrapOrUpdate (globalOpts $ Update keysLoc repoLoc) keysLoc repoLoc True
|
||||
RepoTool.bootstrapOrUpdate (globalOpts $ Update keysLoc repoLoc) keysLoc repoLoc False
|
||||
|
||||
bootstrapRepo :: FilePath -> FilePath -> IO ()
|
||||
bootstrapRepo keysDir repoDir = do
|
||||
keysLoc <- KeysLoc <$> makeAbsolute (fromFilePath keysDir)
|
||||
repoLoc <- RepoLoc <$> makeAbsolute (fromFilePath repoDir)
|
||||
RepoTool.bootstrapOrUpdate (globalOpts $ Bootstrap keysLoc repoLoc) keysLoc repoLoc False
|
||||
RepoTool.bootstrapOrUpdate (globalOpts $ Bootstrap keysLoc repoLoc) keysLoc repoLoc True
|
||||
|
||||
createKeys :: FilePath -> IO ()
|
||||
createKeys keysDir = do
|
||||
|
Loading…
Reference in New Issue
Block a user