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:
parent
6973e7f449
commit
cc9ffb54b9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user