diff options
author | Cyril Brulebois <kibi@debian.org> | 2015-05-19 09:34:36 (GMT) |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2015-05-19 09:34:36 (GMT) |
commit | 6406c739dd88590fe52e5e32507adc9e5dfb25ad (patch) | |
tree | 053ca6294c8ffc1d849289e1f34dc3702d6085d2 /functions | |
parent | be51da6b1f739191d31b02d68711880428ac9de3 (diff) | |
download | debootstrap-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-- | 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|tr '\n' ' ') + leftoverdebs=$(printf "$leftoverdebs"|tr ' ' '\n'|sort -u|tr '\n' ' ') numdebs=$(printf "$leftoverdebs"|wc -w) for c in $COMPONENTS; do |