[X2Go-Commits] [x2goclient] 66/276: deduplicate.sh: record crafted "library path" values in duplicates replacement to_files array.
git-admin at x2go.org
git-admin at x2go.org
Sat Dec 31 01:34:31 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 9e7ff84f69e486fd91fa93193b1ca0744947e7f8
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Aug 27 04:56:56 2015 +0200
deduplicate.sh: record crafted "library path" values in duplicates replacement to_files array.
---
debian/changelog | 2 ++
deduplicate.sh | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c07fabb..0da0e82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -128,6 +128,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
iff any of the strings are present in otool's output and actually handle
the failure string *ARRAY* correctly as that.
- deduplicate.sh: change exit to return in parse_otool_output.
+ - deduplicate.sh: record crafted "library path" values in duplicates
+ replacement to_files array.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/deduplicate.sh b/deduplicate.sh
index 235d4b1..ab86a0b 100755
--- a/deduplicate.sh
+++ b/deduplicate.sh
@@ -117,9 +117,10 @@ for entry in "${duplicates[@]}"; do
if [ -n "${filename}" ] && [ -n "${all_entry_filename}" ]; then
if [ "${filename}" = "${all_entry_filename}" ]; then
- to_files+=( "${all_entry}" )
+ typeset dependency_format="@executable_path/../Frameworks/${all_entry##${base_dir}}"
+ to_files+=( "${dependency_format}" )
- echo "${entry} => ${all_entry}"
+ echo "${entry} => ${dependency_format}"
# There should be only one entry matching, so we can save a bit of time and break out of the loop.
# Even more importantly, we only want one entry for each duplicates entry anyway...
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list