summaryrefslogtreecommitdiffstats
path: root/functions
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 /functions
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!
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
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