summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-11-19 09:43:17 -0200
committerdrebs <drebs@leap.se>2013-11-19 09:43:17 -0200
commitf57e73eaf185ebd2ef007980345c0f45dc81350e (patch)
treed9713372545d7a1338f66059bad81d060f2d6c97
parent2a71d0c9b74c69f8c195f219a82b689685b6d110 (diff)
Fix version inference in Makefile.
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
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)