commit:     5a05a2d2432451e61d59009ba77c5af617317859
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 20:44:00 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 20:44:11 2017 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=5a05a2d2

verify_distfiles.sh: fix ESR identification (again)

 scripts/verify_distfiles.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/verify_distfiles.sh b/scripts/verify_distfiles.sh
index 9d56cfe..8679b7f 100755
--- a/scripts/verify_distfiles.sh
+++ b/scripts/verify_distfiles.sh
@@ -9,7 +9,7 @@ check_distfiles() {
        local myver myname tmp
        myname=$(qatom $1 |awk '{print $2}')
         mybasename=${myname/-bin/}
-       if grep -e 'MOZ_ESR=""' -e 'MOZ_ESR="0"' $1 &>/dev/null || [[ -n $(grep 
-L MOZ_ESR $1) ]] ; then
+       if grep -e 'MOZ_ESR=""' -e 'MOZ_ESR="0"' $1 &>/dev/null || [[ -n $(grep 
-L '^MOZ_ESR' $1) ]] ; then
                myver=$(qatom $1 |awk '{print $3}')
        else
                myver=$(qatom $1 |awk '{print $3 "esr"}')

Reply via email to