summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-11-29 22:33:13 +0100
committerFabian Groffen <grobian@gentoo.org>2017-11-29 22:33:13 +0100
commit514450bb4e8e687f882f1a2f1cb1e302880533d4 (patch)
tree385074720ae67e91f8f8ba8303d5b416c3f064e7
parenthashgen: improve layout.conf parsing, return default hashes if found (diff)
downloadprefix-514450bb.tar.gz
prefix-514450bb.tar.bz2
prefix-514450bb.zip
hashgen: ignore Manifest in top level Manifest.files.gz
-rw-r--r--scripts/rsync-generation/hashgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rsync-generation/hashgen.c b/scripts/rsync-generation/hashgen.c
index 79d26a9ae7..0a00c215f7 100644
--- a/scripts/rsync-generation/hashgen.c
+++ b/scripts/rsync-generation/hashgen.c
@@ -327,6 +327,8 @@ process_dir(const char *dir)
continue;
if (strcmp(e->d_name, my_manifest) == 0)
continue;
+ if (strcmp(e->d_name, str_manifest) == 0)
+ continue;
snprintf(path, sizeof(path), "%s/%s", dir, e->d_name);
if (!stat(path, &s)) {
if (s.st_mode & S_IFDIR) {