diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
commit | 78a473743d98cd74dd3408a6a7800ca0d3c1a697 (patch) | |
tree | b4eb44abbc93912fad720864f788fc7297c50ab1 /pkg | |
parent | f311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6 (diff) | |
download | unit-78a473743d98cd74dd3408a6a7800ca0d3c1a697.tar.gz unit-78a473743d98cd74dd3408a6a7800ca0d3c1a697.tar.bz2 |
Docker: be POSIX-compliant in the library creation script.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/docker/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile index 742f6244..e3a48cff 100644 --- a/pkg/docker/Makefile +++ b/pkg/docker/Makefile @@ -142,10 +142,10 @@ library: modname="$$( echo $$mod | tr -d '.0123456789-' )"; \ TAGS="$$mod $${mod%%.*} $$modname" ; \ TAGS="$$(echo $$TAGS | tr " " "\n" | sort -u -r | tr "\n" "," | sed "s/,/, /g")"; \ - if [ "$$previous" == "$$modname" ]; then \ + if [ "$$previous" = "$$modname" ]; then \ echo "Tags: $(VERSION)-$$mod, $$mod"; \ else \ - if [ "$$mod" == "minimal" ]; then \ + if [ "$$mod" = "minimal" ]; then \ echo "Tags: $(VERSION)-$$mod, $${TAGS%, }, latest"; \ else \ echo "Tags: $(VERSION)-$$mod, $${TAGS%, }"; \ |