From cc9ffb54b93438ca00dc0507364f2cc0fb102aa4 Mon Sep 17 00:00:00 2001 From: foudfou Date: Thu, 8 May 2014 15:04:16 +0200 Subject: [PATCH] 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"