aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-28 13:08:03 +0800
committermarcus <marcus@FreeBSD.org>2003-03-28 13:08:03 +0800
commitfbb5393ee79d49b585aeda9e6532193d034f90d1 (patch)
tree6a912a6ac007b16a58c11efeb1625d7d882207b1 /Tools
parent391c4c3a8f1781b1ccc9b3b58be1886648ca1387 (diff)
downloadfreebsd-ports-gnome-fbb5393ee79d49b585aeda9e6532193d034f90d1.tar.gz
freebsd-ports-gnome-fbb5393ee79d49b585aeda9e6532193d034f90d1.tar.zst
freebsd-ports-gnome-fbb5393ee79d49b585aeda9e6532193d034f90d1.zip
Sort the non-dirrm entries, and reverse sort the dirrm entries.
Reviewed by: green
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/plist6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/plist b/Tools/scripts/plist
index 9b7a62e004fe..92e953e69194 100755
--- a/Tools/scripts/plist
+++ b/Tools/scripts/plist
@@ -105,8 +105,12 @@ USAGE_EOF
else
plnotdirrm.push(ent)
end
- pl = plnotdirrm + pldirrm
+ plnotdirrm.sort!
+ pldirrm.sort!
+ pl = plnotdirrm + pldirrm.reverse
}
+ else
+ pl.sort!
end
puts(pl.join("\n"))
end