summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2015-05-19 09:34:36 (GMT)
committerCyril Brulebois <kibi@debian.org>2015-05-19 09:34:36 (GMT)
commit6406c739dd88590fe52e5e32507adc9e5dfb25ad (patch)
tree053ca6294c8ffc1d849289e1f34dc3702d6085d2 /functions
parentbe51da6b1f739191d31b02d68711880428ac9de3 (diff)
downloaddebootstrap-6406c739dd88590fe52e5e32507adc9e5dfb25ad.zip
debootstrap-6406c739dd88590fe52e5e32507adc9e5dfb25ad.tar.gz
debootstrap-6406c739dd88590fe52e5e32507adc9e5dfb25ad.tar.bz2
Use tr|tr for symmetry (instead of sed|tr).
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index b9f4428..2b390cb 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|tr '\n' ' ')
+ leftoverdebs=$(printf "$leftoverdebs"|tr ' ' '\n'|sort -u|tr '\n' ' ')
numdebs=$(printf "$leftoverdebs"|wc -w)
for c in $COMPONENTS; do