omf.bundle.remove: replace uniq by sort -u

This commit is contained in:
Derek Stavis 2015-09-11 14:51:35 -03:00 committed by Derek Stavis
parent 00e3d3e058
commit b20f8dd141

View File

@ -4,7 +4,7 @@ function omf.bundle.remove
if test -f $bundle
set type $argv[1]
set name $argv[2]
set bundle_contents (cat $bundle | uniq)
set bundle_contents (cat $bundle | sort -u)
rm -f $bundle
@ -17,7 +17,6 @@ function omf.bundle.remove
if not test "$type" = "$record_type" -a "$name" = "$record_basename"
echo "$record_type $record_name" >> $bundle
end
end
end
end