[X2Go-Commits] [x2goclient] 02/02: macbuild.sh: get rid of problems and use gfind directly. We need special GNU features.
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 13 02:49:48 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 368b71d3db8641957778fc20ec8968dcb458ea15
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Feb 13 02:48:52 2017 +0100
macbuild.sh: get rid of problems and use gfind directly. We need special GNU features.
---
debian/changelog | 2 ++
macbuild.sh | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 78d5388..5501b9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -568,6 +568,8 @@ x2goclient (4.1.0.0-0x2go1) UNRELEASED; urgency=medium
whitespace fix.
- macbuild.sh: sanitize find input, as BSD find and GNU find behave
differently.
+ - macbuild.sh: get rid of problems and use gfind directly. We need special
+ GNU features.
[ Bernard Cafarelli ]
* New upstream version (4.1.0.0):
diff --git a/macbuild.sh b/macbuild.sh
index c22581f..2cb3a8f 100755
--- a/macbuild.sh
+++ b/macbuild.sh
@@ -283,7 +283,7 @@ for cur_lib_or_libdir in ${PULSEAUDIO_LIBRARIES[@]}; do
echo "Adding $(lazy_canonical_path "${entry}") to \${PULSEAUDIO_LIBRARIES_FULL}"
PULSEAUDIO_LIBRARIES_FULL+=( "$(lazy_canonical_path "${entry}")" )
fi
- done < <(find "${cur_lib_or_libdir}" -type 'f' -print0)
+ done < <(gfind "${cur_lib_or_libdir}" -type 'f' -print0)
else
fail="1"
break
@@ -407,7 +407,7 @@ if [ "${BUNDLE}" = "1" ]; then
typeset sanitized_entry="$(lazy_canonical_path "${entry}")"
echo "Adding ${sanitized_entry} to all files"
all_files+=( "${sanitized_entry}" )
- done < <(find "${base_dir}" -type 'f' -print0)
+ done < <(gfind "${base_dir}" -type 'f' -print0)
typeset -a top_files
for entry in "${all_files[@]}"; do
@@ -511,7 +511,7 @@ if [ "${BUNDLE}" = "1" ]; then
while read -r -d '' entry; do
echo "Adding ${entry} to all files"
all_files+=( "${entry}" )
- done < <(find "${EXE_DIR}" -type 'f' -executable -print0)
+ done < <(gfind "${EXE_DIR}" -type 'f' -executable -print0)
# Try to fixup files broken by duplicates removal.
for all_entry in "${all_files[@]}"; do
--
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