mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-02-01 10:43:16 +00:00
For DIRTY and RELEASED this means simply performing a static assignment with `:=`. For HASH it is a little more complex since it is (and we want/need it to be) a conditional assigment. However it is only used for defining TAG, so make that a static assignment. This reduces the number of times the complex DIRTY shell command in particular is evaluated. Signed-off-by: Ian Campbell <ian.campbell@docker.com>