summaryrefslogtreecommitdiffhomepage
path: root/install-fail-tool
diff options
context:
space:
mode:
Diffstat (limited to 'install-fail-tool')
-rwxr-xr-xinstall-fail-tool19
1 files changed, 0 insertions, 19 deletions
diff --git a/install-fail-tool b/install-fail-tool
deleted file mode 100755
index 99f8fbdf..00000000
--- a/install-fail-tool
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-test -n "$1" || exit 1
-
-dir="$1"
-
-for i in "$dir"/* "$dir"/*/*; do
- { test -x "$i" && test -f "$i"; } || continue
- echo ---- $i ----
- install_name_tool -id "@executable_path/$(basename -- "$i")" "$i"
-
- otool -L "$i" | awk '{ print $1 }' |
- while read l; do
- j="$(basename -- "$l")"
- if test -e "$dir/$j"; then
- install_name_tool -change "$l" "@executable_path/$j" "$i"
- fi
- done
-done