1
0
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:
foudfou 2014-05-07 10:58:30 +02:00
parent 639bf7a914
commit 6973e7f449

View File

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