From cce6569c63209685368ccc220d6a0c48d6b0900a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 27 Oct 2011 15:16:22 +0100 Subject: [PATCH] debian: Quote parameters to grep. This updates commit daa0a6218be2cee5284d6961fc05b7e53d368abd. --- src/febootstrap_debian.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/febootstrap_debian.ml b/src/febootstrap_debian.ml index 6c74668..8d0f75f 100644 --- a/src/febootstrap_debian.ml +++ b/src/febootstrap_debian.ml @@ -45,7 +45,7 @@ let get_installed_pkgs () = let rec debian_resolve_dependencies_and_download names = let cmd = - sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]' | grep -Ev :\\w+\\b" + sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]' | grep -Ev ':\\w+\\b'" Config.apt_cache (String.concat " " (List.map Filename.quote names)) in let pkgs = run_command_get_lines cmd in -- 1.8.3.1