Browse code

fix hack/dockerfile/install/containerd.installer test statement

Signed-off-by: Rong Gao <gaoronggood@163.com>

Rong Gao authored on 2019/02/26 17:00:54
Showing 1 changed files
... ...
@@ -19,7 +19,7 @@ install_containerd() {
19 19
 		export EXTRA_LDFLAGS='-extldflags "-fno-PIC -static"'
20 20
 
21 21
 		# Reset build flags to nothing if we want a dynbinary
22
-		if [ "$1" == "dynamic" ]; then
22
+		if [ "$1" = "dynamic" ]; then
23 23
 			export BUILDTAGS=''
24 24
 			export EXTRA_FLAGS=''
25 25
 			export EXTRA_LDFLAGS=''