commit:     22a85e115b85a0400b7d5f8f4fc6c3d12ba17cb1
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 17 20:56:34 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 20:56:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=22a85e11

scripts/rsync-generation/update-rsync-master: update package metadata.xml

 scripts/rsync-generation/update-rsync-master.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/rsync-generation/update-rsync-master.sh 
b/scripts/rsync-generation/update-rsync-master.sh
index 4c1febc2c9..02807d19c9 100755
--- a/scripts/rsync-generation/update-rsync-master.sh
+++ b/scripts/rsync-generation/update-rsync-master.sh
@@ -81,7 +81,8 @@ apply_git_mtimes() {
                        [D]*)
                                # in case a file is removed, ensure Manifest 
gets
                                # updated by touching a file which should be 
there
-                               files+=( metadata.xml )
+                               [[ $2 == */* ]] && \
+                                       files+=( ${2%/*}/metadata.xml )
                                ;;
                esac
        done

Reply via email to