summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-12-24 16:17:27 +0300
committerAndrei Belov <defan@nginx.com>2020-12-24 16:17:27 +0300
commitc981ac6558440f42670fc0a3d3857a3bb10e1f0a (patch)
treeb2d808953f438951b0d736214b52766b76a01171 /pkg/docker
parentc369e25ae7e3de7759c5950a2a84870cc1a8401f (diff)
downloadunit-c981ac6558440f42670fc0a3d3857a3bb10e1f0a.tar.gz
unit-c981ac6558440f42670fc0a3d3857a3bb10e1f0a.tar.bz2
Packages: fixed an ability to override package version.
This was broken since 00d8049418cf.
Diffstat (limited to 'pkg/docker')
-rw-r--r--pkg/docker/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile
index 3b6c2720..455e9fb1 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -3,9 +3,10 @@
include ../../version
include ../shasum.mak
+DEFAULT_VERSION := $(NXT_VERSION)
DEFAULT_RELEASE := 1
-VERSION ?= $(NXT_VERSION)
+VERSION ?= $(DEFAULT_VERSION)
RELEASE ?= $(DEFAULT_RELEASE)
CODENAME := buster