diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-21 18:51:50 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-21 18:51:50 +0100 |
commit | 18430215845a1ba4adab10062d33204fd26bd8fb (patch) | |
tree | 33aa3ec2a66f0c7a170837135a74059359b42a4e /scripts/tsort | |
parent | f799b95adfe39ddee1324e2901a823ecdf2fe44d (diff) | |
parent | 08c3724108f33060956438bff670ee1135f473b1 (diff) |
Merge branch 'master' of git+ssh://wbx@openadk.org/git/openadk
Diffstat (limited to 'scripts/tsort')
-rwxr-xr-x | scripts/tsort | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/tsort b/scripts/tsort new file mode 100755 index 000000000..d4b176f6f --- /dev/null +++ b/scripts/tsort @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +os=$(uname) +case $os in + NetBSD|MirBSD|OpenBSD) + /usr/bin/tsort -r + ;; + *) + /usr/bin/tsort | tac + ;; +esac |