[gtk-mac-bundler] Make sure that libraries are writeable before using otool.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-bundler] Make sure that libraries are writeable before using otool.
- Date: Wed, 5 Nov 2014 01:41:31 +0000 (UTC)
commit 30d76deeb5affe6e39c57f0d83158ec37999c9e7
Author: Julien Woillez <jwoillez gmail com>
Date: Mon Feb 24 12:34:14 2014 +0100
Make sure that libraries are writeable before using otool.
bundler/run-install-name-tool-change.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bundler/run-install-name-tool-change.sh b/bundler/run-install-name-tool-change.sh
index 3a3b6a8..a69796a 100755
--- a/bundler/run-install-name-tool-change.sh
+++ b/bundler/run-install-name-tool-change.sh
@@ -10,6 +10,8 @@ WRONG_PREFIX=$2
RIGHT_PREFIX="@executable_path/../$3"
ACTION=$4
+chmod u+w $LIBRARY
+
if [ "x$ACTION" == "xchange" ]; then
libs="`otool -L $LIBRARY 2>/dev/null | fgrep compatibility | cut -d\( -f1 | grep $WRONG_PREFIX | sort |
uniq`"
for lib in $libs; do
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]