Create bindir in upgradeGHCup
This should only be necessary in edge cases.
This commit is contained in:
parent
618a05484c
commit
40ffb7fd73
@ -927,6 +927,8 @@ upgradeGHCup dls mtarget force = do
|
||||
`unionFileModes` ownerExecuteMode
|
||||
`unionFileModes` groupExecuteMode
|
||||
`unionFileModes` otherExecuteMode
|
||||
binDir <- liftIO $ ghcupBinDir
|
||||
liftIO $ createDirIfMissing newDirPerms binDir
|
||||
case mtarget of
|
||||
Nothing -> do
|
||||
dest <- liftIO $ ghcupBinDir
|
||||
|
Loading…
Reference in New Issue
Block a user