summaryrefslogtreecommitdiff
path: root/scripts/tsort
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-19 00:54:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-19 00:54:12 +0100
commit1d0c46287d508236506ee59417e8da05c0cee3e5 (patch)
treee44b4a7ad97472ca0523cff975a958a7b93982e5 /scripts/tsort
parentb668796b88da374fefa35b87f305ebcc03147e5d (diff)
avoid autotools usage on host system
There are to many combinations of autotools on host systems. If you need to patch the autotool buildsystem of a package always add a autotool.patch and regenerate configure on your host. That is the most portable way.
Diffstat (limited to 'scripts/tsort')
-rwxr-xr-xscripts/tsort8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/tsort b/scripts/tsort
index 45bd2bc24..d4b176f6f 100755
--- a/scripts/tsort
+++ b/scripts/tsort
@@ -5,13 +5,9 @@
os=$(uname)
case $os in
NetBSD|MirBSD|OpenBSD)
- targ="-r"
+ /usr/bin/tsort -r
;;
*)
- targ="|tac"
+ /usr/bin/tsort | tac
;;
esac
-if [ -x /usr/bin/tsort ];then
- /usr/bin/tsort $targ "$@"
-fi
-