use setCurrentDirectory
On POSIX, this just calls changeWorkingDirectory.
This commit is contained in:
parent
18bdff3fae
commit
1e2ddcb68a
5 changed files with 8 additions and 18 deletions
|
@ -15,7 +15,6 @@ import Init
|
|||
import Config.Files
|
||||
|
||||
import System.Environment
|
||||
import System.Posix.Directory
|
||||
|
||||
def :: [Command]
|
||||
def = [noRepo checkAutoStart $ dontCheck repoExists $
|
||||
|
@ -64,5 +63,5 @@ autoStart = do
|
|||
)
|
||||
where
|
||||
go program dir = do
|
||||
changeWorkingDirectory dir
|
||||
setCurrentDirectory dir
|
||||
boolSystem program [Param "assistant"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue