summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-03-17 21:56:34 +0100
committerFabian Groffen <grobian@gentoo.org>2018-03-17 21:56:34 +0100
commit22a85e115b85a0400b7d5f8f4fc6c3d12ba17cb1 (patch)
tree3a61ce191122ec5026857f9ea100269463c4590c
parentscripts/bootstrap-prefix: ensure generic vars are initialised (diff)
downloadprefix-22a85e115b85a0400b7d5f8f4fc6c3d12ba17cb1.tar.gz
prefix-22a85e115b85a0400b7d5f8f4fc6c3d12ba17cb1.tar.bz2
prefix-22a85e115b85a0400b7d5f8f4fc6c3d12ba17cb1.zip
scripts/rsync-generation/update-rsync-master: update package metadata.xml
-rwxr-xr-xscripts/rsync-generation/update-rsync-master.sh3
1 files changed, 2 insertions, 1 deletions
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