Skip to content
Snippets Groups Projects
Commit b20f8dd1 authored by Derek Stavis's avatar Derek Stavis Committed by Derek Stavis
Browse files

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

parent 00e3d3e0
Branches
No related merge requests found
...@@ -4,7 +4,7 @@ function omf.bundle.remove ...@@ -4,7 +4,7 @@ function omf.bundle.remove
if test -f $bundle if test -f $bundle
set type $argv[1] set type $argv[1]
set name $argv[2] set name $argv[2]
set bundle_contents (cat $bundle | uniq) set bundle_contents (cat $bundle | sort -u)
rm -f $bundle rm -f $bundle
...@@ -17,7 +17,6 @@ function omf.bundle.remove ...@@ -17,7 +17,6 @@ function omf.bundle.remove
if not test "$type" = "$record_type" -a "$name" = "$record_basename" if not test "$type" = "$record_type" -a "$name" = "$record_basename"
echo "$record_type $record_name" >> $bundle echo "$record_type $record_name" >> $bundle
end end
end end
end end
end end
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment