summaryrefslogtreecommitdiff
path: root/scripts/depsort
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/depsort')
-rwxr-xr-xscripts/depsort3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/depsort b/scripts/depsort
new file mode 100755
index 000000000..953260238
--- /dev/null
+++ b/scripts/depsort
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+awk '{ for (f=1;f<=NF;f++) { print $(f),$1 } }' | "$(dirname $(readlink -f ${0}))"/tsort