diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-11 19:14:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-11 19:14:30 -0400 |
commit | cbc98eee9d583f56d52a70fbff7abe171a1ecebe (patch) | |
tree | 90dacacdd69cbeb1770c48471d40fc3892c51217 /Command/Assistant.hs | |
parent | 618af8b6772d25ab27336d240ecddae7ae207561 (diff) |
use setCurrentDirectory
On POSIX, this just calls changeWorkingDirectory.
Diffstat (limited to 'Command/Assistant.hs')
-rw-r--r-- | Command/Assistant.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Assistant.hs b/Command/Assistant.hs index 32c9c7a15..c40c9e5e9 100644 --- a/Command/Assistant.hs +++ b/Command/Assistant.hs @@ -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"] |