Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/sharpsvn-binary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUngureanu Marius <marius.ungureanu@xamarin.com>2014-10-07 11:22:32 +0400
committerUngureanu Marius <marius.ungureanu@xamarin.com>2014-10-07 11:23:15 +0400
commit6551ca87123f489606d9b617914e6399d644dcba (patch)
tree07c4114f6e586e87d3552485ebdee179683d8450
parent83e626a9624f97baec346d0ccb946bb9709cce5b (diff)
[Script] Update it to be clearer about usage.
-rwxr-xr-xfix_links.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/fix_links.sh b/fix_links.sh
index 2b886af..9b9f929 100755
--- a/fix_links.sh
+++ b/fix_links.sh
@@ -1,6 +1,11 @@
#!/bin/bash
-cd mac
+# This script is used to make dylibs installed for /usr/local be portable.
+
+# Change this to be the path to the dylibs.
+LIBRARY_DIR=mac
+
+pushd $LIBRARY_DIR
for i in *; do
install_name_tool -id "$i" "$i"
for j in *; do
@@ -8,4 +13,5 @@ for i in *; do
install_name_tool -change "/usr/local/lib/$j" "@loader_path/$j" "$i"
done
done
+popd