mirror of
https://github.com/moparisthebest/FireTray
synced 2025-01-07 19:48:03 -05:00
Use awk-compatible statements only (not gawk).
This commit is contained in:
parent
639bf7a914
commit
6973e7f449
@ -69,9 +69,7 @@ license := LICENSE
|
|||||||
install_rdf := install.rdf
|
install_rdf := install.rdf
|
||||||
|
|
||||||
# Version fetched from install.rdf
|
# Version fetched from install.rdf
|
||||||
VERSION := $(shell awk '/<em:version>/ { version=$$1; \
|
VERSION := $(shell awk -F '[<>]' '/em:version/{print $$3}' $(install_rdf))
|
||||||
version=gensub(/^.*<em:version>(.+)<\/em:version>.*$$/, "\\1", "g", version); \
|
|
||||||
print version }' $(install_rdf))
|
|
||||||
|
|
||||||
# The target XPI files.
|
# The target XPI files.
|
||||||
xpi_file := $(extension_name)-$(VERSION).xpi
|
xpi_file := $(extension_name)-$(VERSION).xpi
|
||||||
|
Loading…
Reference in New Issue
Block a user