Allow for sharing of home directory across architectures.

This commit is contained in:
tim.thelion
2007-12-18 06:51:46 +00:00
parent c46f3ad549
commit da167bfc11
2 changed files with 9 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ import XMonad
import Control.Exception (handle)
import System.IO
import System.Info
import System.Environment
import System.Posix.Process (executeFile)
@@ -43,5 +44,5 @@ buildLaunch = do
recompile False
dir <- getXMonadDir
args <- getArgs
executeFile (dir ++ "/xmonad") False args Nothing
executeFile (dir ++ "/xmonad-"++arch++"-"++os) False args Nothing
return ()