summaryrefslogtreecommitdiff
path: root/scripts/tsort
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tsort')
-rwxr-xr-xscripts/tsort3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/tsort b/scripts/tsort
index d4b176f6f..77ffa1237 100755
--- a/scripts/tsort
+++ b/scripts/tsort
@@ -7,6 +7,9 @@ case $os in
NetBSD|MirBSD|OpenBSD)
/usr/bin/tsort -r
;;
+ FreeBSD)
+ /usr/bin/tsort | tail -r
+ ;;
*)
/usr/bin/tsort | tac
;;