summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Bourg <ebourg@apache.org>2015-10-08 13:32:20 +0200
committerEmmanuel Bourg <ebourg@apache.org>2015-10-08 13:32:20 +0200
commitc58c9bc2db5516cc74f3afd28a1b38db1b7aa4ab (patch)
tree336f4556ba9a204b490f4ae900bd72c6259907cb
parent46b65d9b713854d38587aed3d755985eb6059aea (diff)
downloadjava-common-c58c9bc2db5516cc74f3afd28a1b38db1b7aa4ab.tar.gz
Renamed jrel -> release
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 96e4292..0a2228a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-jrel = $(shell dpkg-parsechangelog | grep -E ^Version: | sed "s/Version: 0.//")
+release = $(shell dpkg-parsechangelog | grep -E ^Version: | sed "s/Version: 0.//")
DEB_HOST_ARCH ?= $(shell dpkg-architecture --query DEB_HOST_ARCH)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture --query DEB_HOST_MULTIARCH)
@@ -14,7 +14,7 @@ p_jre = openjdk-$(java_default_version)-jre
p_jhl = openjdk-$(java_default_version)-jre-headless
p_jdk = openjdk-$(java_default_version)-jdk
p_doc = openjdk-$(java_default_version)-doc
-dversion = 2:1.$(java_default_version)-$(jrel)
+dversion = 2:1.$(java_default_version)-$(release)
jvmdir = java-1.$(java_default_version).0-openjdk$(if $(DEB_HOST_MULTIARCH),-$(DEB_HOST_ARCH))
ifeq (5, $(java_default_version))