1
0
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:
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 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