summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-27 15:16:22 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-27 15:16:22 +0100
commitcce6569c63209685368ccc220d6a0c48d6b0900a (patch)
treeda4ea15ad3effce4302b81a05f173867ae537359
parentdaa0a6218be2cee5284d6961fc05b7e53d368abd (diff)
downloadfebootstrap-cce6569c63209685368ccc220d6a0c48d6b0900a.zip
febootstrap-cce6569c63209685368ccc220d6a0c48d6b0900a.tar.gz
febootstrap-cce6569c63209685368ccc220d6a0c48d6b0900a.tar.xz
debian: Quote parameters to grep.
This updates commit daa0a6218be2cee5284d6961fc05b7e53d368abd.
-rw-r--r--src/febootstrap_debian.ml2
1 files changed, 1 insertions, 1 deletions
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