commit:     a1738f6a3804230550af2e81a4d99c58d055ea10
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 15:55:39 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 15:55:39 2016 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=a1738f6a

verify_distfiles.sh: fix bug so that matching works on *-bin packages

 scripts/verify_distfiles.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/verify_distfiles.sh b/scripts/verify_distfiles.sh
index 420318b..9ffc867 100755
--- a/scripts/verify_distfiles.sh
+++ b/scripts/verify_distfiles.sh
@@ -20,8 +20,8 @@ check_distfiles() {
        wget -O ${sigfile} -q 
https://archive.mozilla.org/pub/${mybasename}/releases/${myver}/SHA512SUMS
        gpg --verify ${sigfile}.asc ${sigfile} || exit 1
 
-       grep -e "^DIST ${myname}-${myver}[-\.]" \
-         -e "^DIST ${mybasename}_.*-${myver}[-\.]" \
+       grep -e "^DIST ${mybasename}-${myver}[-\.]" \
+         -e "^DIST ${myname}_.*-${myver}[-\.]" \
          Manifest |grep -v -- "${myname}-.*-patches-" |awk '{print $7}' |while 
read ech ; do
                tmp=$(grep ${ech} Manifest |awk '{print $2}')
                if grep $ech ${sigfile} &>/dev/null ; then

Reply via email to