1
0
mirror of https://github.com/moparisthebest/FireTray synced 2025-01-06 11:08:04 -05:00

Use POSIX-awk compatible regex (without GNU or late extension).

This commit is contained in:
foudfou 2014-05-08 15:04:16 +02:00
parent 6973e7f449
commit cc9ffb54b9

View File

@ -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"