mirror of
https://github.com/moparisthebest/FireTray
synced 2024-11-11 03:25:07 -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
|
||||
|
||||
# Version fetched from install.rdf
|
||||
VERSION := $(shell awk '/<em:version>/ { version=$$1; \
|
||||
version=gensub(/^.*<em:version>(.+)<\/em:version>.*$$/, "\\1", "g", version); \
|
||||
print version }' $(install_rdf))
|
||||
VERSION := $(shell awk -F '[<>]' '/em:version/{print $$3}' $(install_rdf))
|
||||
|
||||
# The target XPI files.
|
||||
xpi_file := $(extension_name)-$(VERSION).xpi
|
||||
|
Loading…
Reference in New Issue
Block a user