mirror of
https://github.com/moparisthebest/FireTray
synced 2025-01-08 12:08:05 -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)*"
|
@echo "Removing build dirs: $(build_dir)*"
|
||||||
@rm -rf $(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)
|
{print $$2}' modules/commons.js)
|
||||||
check_version:
|
check_version:
|
||||||
@echo "checking version consistency"
|
@echo "checking version consistency"
|
||||||
@[ "$(VERSION)" = "$(VERSION_HARD_CODED)" ]
|
@[ "$(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)
|
{print $$2}' modules/logging.jsm)
|
||||||
check_loglevel:
|
check_loglevel:
|
||||||
@echo "checking loglevel"
|
@echo "checking loglevel"
|
||||||
|
Loading…
Reference in New Issue
Block a user