[gtk-mac-bundler] When changing the id on a binary don’t include the source prefix.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-bundler] When changing the id on a binary don’t include the source prefix.
- Date: Sun, 8 Jan 2017 02:08:37 +0000 (UTC)
commit 4f3bb974af062ae9f4952d1ded0b86dba658341a
Author: John Ralls <jralls ceridwen us>
Date: Fri Jan 6 10:25:46 2017 -0800
When changing the id on a binary don’t include the source prefix.
bundler/run-install-name-tool-change.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bundler/run-install-name-tool-change.sh b/bundler/run-install-name-tool-change.sh
index a69796a..1c349d3 100755
--- a/bundler/run-install-name-tool-change.sh
+++ b/bundler/run-install-name-tool-change.sh
@@ -21,7 +21,7 @@ if [ "x$ACTION" == "xchange" ]; then
fi
done;
elif [ "x$ACTION" == "xid" ]; then
- lib="`otool -D $LIBRARY 2>/dev/null | grep ^$WRONG_PREFIX`"
+ lib="`otool -D $LIBRARY 2>/dev/null | grep ^$WRONG_PREFIX | sed s,\${WRONG_PREFIX},,`"
install_name_tool -id "$RIGHT_PREFIX/$lib" $LIBRARY;
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]