]> git.decadent.org.uk Git - dak.git/commitdiff
Sort extrafiles
authorJoerg Jaspert <joerg@debian.org>
Mon, 28 Dec 2015 12:45:19 +0000 (13:45 +0100)
committerJoerg Jaspert <joerg@debian.org>
Mon, 28 Dec 2015 12:45:19 +0000 (13:45 +0100)
config/debian/dinstall.functions

index 9aadf836059925e76e56db028784318a341ce6e1..498999eb5f879c0e394064f7cfc7b268c4cb2648 100644 (file)
@@ -676,7 +676,7 @@ function signotherfiles() {
 
         cd ${archiveroot}
         rm -f extrafiles
-        sha256sum $(find * -type f | egrep -v '(pool|i18n|dep11|source)/|Contents-.*\.(gz|diff)|installer|binary-|(In)?Release(.gpg)?|\.changes') > ${TMPLO}
+        sha256sum $(find * -type f | egrep -v '(pool|i18n|dep11|source)/|Contents-.*\.(gz|diff)|installer|binary-|(In)?Release(.gpg)?|\.changes' | sort) > ${TMPLO}
         gpg --no-options --batch --no-tty --armour --personal-digest-preferences=SHA256 --secret-keyring /srv/ftp-master.debian.org/s3kr1t/dot-gnupg/secring.gpg --keyring /srv/ftp-master.debian.org/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 473041FA --clearsign --output ${archiveroot}/extrafiles ${TMPLO}
         rm -f ${TMPLO}
     done