fix param order

This commit is contained in:
Joey Hess 2014-11-19 21:16:18 -04:00
parent 4de7d4295c
commit 205d192559
1 changed files with 2 additions and 2 deletions

View File

@ -45,9 +45,9 @@ built target system@(System _ arch) extraparams =
Nothing -> errorMessage $ "don't know how to debootstrap " ++ show system Nothing -> errorMessage $ "don't know how to debootstrap " ++ show system
Just s -> pure s Just s -> pure s
let params = extraparams ++ let params = extraparams ++
[ Param suite [ Param $ "--arch=" ++ arch
, Param suite
, Param target , Param target
, Param $ "--arch=" ++ arch
] ]
cmd <- fromMaybe "debootstrap" <$> programPath cmd <- fromMaybe "debootstrap" <$> programPath
ifM (boolSystem cmd params) ifM (boolSystem cmd params)