summaryrefslogtreecommitdiff
path: root/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
commit586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch)
treed6790c838cfe9607c996e4913fdf11bad5fdd528 /www-misc/profile-sync-daemon/files/bad-substitution-fix.patch
parent3f71901f8c228f4de570abed1831ce3ee425343e (diff)
gentoo resync : 15.09.2018
Diffstat (limited to 'www-misc/profile-sync-daemon/files/bad-substitution-fix.patch')
-rw-r--r--www-misc/profile-sync-daemon/files/bad-substitution-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch b/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch
new file mode 100644
index 000000000000..7551b08157a6
--- /dev/null
+++ b/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch
@@ -0,0 +1,11 @@
+--- a/common/profile-sync-daemon.in 2015-07-29 16:57:24.000000000 -0400
++++ b/common/profile-sync-daemon.in 2017-07-25 21:35:59.209639588 -0400
+@@ -581,7 +581,7 @@
+ # check that the LAST DIRECTORY in the full path is unique
+ unique_count=$(echo ${DIRArr[@]##*/} |
+ sed 's/ /\n/g' | sort -u | wc -l)
+- if [[ ${#DIRArr[@]##*/} -eq $unique_count ]]; then
++ if [[ ${#DIRArr[@]} -eq $unique_count ]]; then
+ # no problems so do nothing
+ return
+ else