diff options
author | Cyril Brulebois <kibi@debian.org> | 2015-05-19 09:33:40 (GMT) |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2015-05-19 09:33:40 (GMT) |
commit | be51da6b1f739191d31b02d68711880428ac9de3 (patch) | |
tree | b848cfc3a1d4c7448728f656d22e62a93929d3d3 /functions | |
parent | ee58cbb7e15ec9797f21304df62940083f5282f9 (diff) | |
download | debootstrap-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-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |