From 14ce1badd4210ebb2660e0fb22ba4ff7f2986dee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jan 2014 18:10:21 -0400 Subject: merge from git-annex --- Utility/Batch.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Utility/Batch.hs') diff --git a/Utility/Batch.hs b/Utility/Batch.hs index 61026f1..3f21478 100644 --- a/Utility/Batch.hs +++ b/Utility/Batch.hs @@ -52,7 +52,11 @@ getBatchCommandMaker = do #ifndef mingw32_HOST_OS nicers <- filterM (inPath . fst) [ ("nice", []) +#ifndef __ANDROID__ + -- Android's ionice does not allow specifying a command, + -- so don't use it. , ("ionice", ["-c3"]) +#endif , ("nocache", []) ] return $ \(command, params) -> -- cgit v1.2.3