summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2015-05-19 09:33:40 (GMT)
committerCyril Brulebois <kibi@debian.org>2015-05-19 09:33:40 (GMT)
commitbe51da6b1f739191d31b02d68711880428ac9de3 (patch)
treeb848cfc3a1d4c7448728f656d22e62a93929d3d3
parentee58cbb7e15ec9797f21304df62940083f5282f9 (diff)
downloaddebootstrap-be51da6b1f739191d31b02d68711880428ac9de3.zip
debootstrap-be51da6b1f739191d31b02d68711880428ac9de3.tar.gz
debootstrap-be51da6b1f739191d31b02d68711880428ac9de3.tar.bz2
Use tr instead of (missing in d-i) xargs (Closes: #785693). Thanks, Julian Schauder!
-rw-r--r--debian/changelog7
-rw-r--r--functions2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 9f278ee..9827ade 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debootstrap (1.0.70) UNRELEASED; urgency=medium
+
+ * Use tr instead of (missing in d-i) xargs (Closes: #785693). Thanks,
+ Julian Schauder!
+
+ -- Cyril Brulebois <kibi@debian.org> Tue, 19 May 2015 11:31:43 +0200
+
debootstrap (1.0.69) unstable; urgency=medium
[ Cyril Brulebois ]
diff --git a/functions b/functions
index d697c4f..b9f4428 100644
--- a/functions
+++ b/functions
@@ -667,7 +667,7 @@ download_release () {
local leftoverdebs="$*"
# Fix possible duplicate package names, which would screw up counts:
- leftoverdebs=$(printf "$leftoverdebs"|sed 's/ /\n/g'|sort -u|xargs)
+ leftoverdebs=$(printf "$leftoverdebs"|sed 's/ /\n/g'|sort -u|tr '\n' ' ')
numdebs=$(printf "$leftoverdebs"|wc -w)
for c in $COMPONENTS; do