diff --git a/docker/bootstrap-node.Dockerfile b/docker/bootstrap-node.Dockerfile index 7518bd6102..3ff6bb7caf 100644 --- a/docker/bootstrap-node.Dockerfile +++ b/docker/bootstrap-node.Dockerfile @@ -75,7 +75,7 @@ RUN \ if [ $BUILDARCH != "riscv64" ] && [ $TARGETARCH = "riscv64" ]; then \ export RUSTFLAGS="$RUSTFLAGS -C linker=riscv64-linux-gnu-gcc" \ ; fi && \ - if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \ + if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \ diff --git a/docker/node.Dockerfile b/docker/node.Dockerfile index b5fbb757c2..1342f9a3bc 100644 --- a/docker/node.Dockerfile +++ b/docker/node.Dockerfile @@ -76,7 +76,7 @@ RUN \ if [ $BUILDARCH != "riscv64" ] && [ $TARGETARCH = "riscv64" ]; then \ export RUSTFLAGS="$RUSTFLAGS -C linker=riscv64-linux-gnu-gcc" \ ; fi && \ - if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \ + if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \ diff --git a/docker/runtime.Dockerfile b/docker/runtime.Dockerfile index da4abfd9dd..cdd02c4d44 100644 --- a/docker/runtime.Dockerfile +++ b/docker/runtime.Dockerfile @@ -75,7 +75,7 @@ RUN \ if [ $BUILDARCH != "riscv64" ] && [ $TARGETARCH = "riscv64" ]; then \ export RUSTFLAGS="$RUSTFLAGS -C linker=riscv64-linux-gnu-gcc" \ ; fi && \ - if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \ + if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \