From f57e73eaf185ebd2ef007980345c0f45dc81350e Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 19 Nov 2013 09:43:17 -0200 Subject: Fix version inference in Makefile. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fb59643..d331e5b 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ RSA_FILE := META-INF/zigbert.rsa # the following variables are updated automatically COMMIT := $(shell git --no-pager log -1 --format=format:%h) -VERSION = $(shell head -n1 Changelog | sed -e 's/^.*(//' -e 's/).*$$//') +VERSION = $(shell head -n1 CHANGELOG | cut -d" " -f1) PKGNAME := $(EXTNAME)-$(VERSION)-$(COMMIT).xpi TARGET := $(CURDIR)/build/$(PKGNAME) TEMPDIR := $(shell mktemp -d -u) -- cgit v1.2.3