From cbc98eee9d583f56d52a70fbff7abe171a1ecebe Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 11 May 2013 19:14:30 -0400 Subject: use setCurrentDirectory On POSIX, this just calls changeWorkingDirectory. --- Command/Assistant.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Command/Assistant.hs') 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"] -- cgit v1.2.3