[Pkg-mozext-commits] [firetray] 58/84: Use POSIX-awk compatible regex (without GNU or late extension).

David Prévot taffit at moszumanska.debian.org
Sun Jul 20 01:42:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firetray.

commit cc9ffb54b93438ca00dc0507364f2cc0fb102aa4
Author: foudfou <foudil.newbie+git at gmail.com>
Date:   Thu May 8 15:04:16 2014 +0200

    Use POSIX-awk compatible regex (without GNU or late extension).
---
 src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 85c8a92..cd1025a 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -191,13 +191,13 @@ clean_build:
 	@echo "Removing build dirs: $(build_dir)*"
 	@rm -rf $(build_dir)*
 
-VERSION_HARD_CODED := $(shell awk -F\" '/const\W+FIRETRAY_VERSION/ \
+VERSION_HARD_CODED := $(shell awk -F\" '/const[ \t]+FIRETRAY_VERSION/ \
   {print $$2}' modules/commons.js)
 check_version:
 	@echo "checking version consistency"
 	@[ "$(VERSION)" = "$(VERSION_HARD_CODED)" ]
 
-FIRETRAY_LOG_LEVEL := $(shell awk -F\" '/const\W+FIRETRAY_LOG_LEVEL/ \
+FIRETRAY_LOG_LEVEL := $(shell awk -F\" '/const[ \t]+FIRETRAY_LOG_LEVEL/ \
   {print $$2}' modules/logging.jsm)
 check_loglevel:
 	@echo "checking loglevel"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git



More information about the Pkg-mozext-commits mailing list