From: Richard W.M. Jones Date: Thu, 27 Oct 2011 14:16:22 +0000 (+0100) Subject: debian: Quote parameters to grep. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=cce6569c63209685368ccc220d6a0c48d6b0900a;p=febootstrap.git debian: Quote parameters to grep. This updates commit daa0a6218be2cee5284d6961fc05b7e53d368abd. --- 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