From 0bbbe706873e5ca00eaa94e7aea4afff65b9ba0e Mon Sep 17 00:00:00 2001 From: Amulyam24 Date: Mon, 20 Jun 2022 19:26:27 +0530 Subject: [PATCH] snap: fix snap build on ppc64le Fixes the syntax error while building rustdeps. Fixes: #4494 Signed-off-by: Amulyam24 --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 60185e8f61..77f27b15f9 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -74,7 +74,7 @@ parts: rustup toolchain install ${version} rustup default ${version} if [ "${arch}" == "ppc64le" ] || [ "${arch}" == "s390x" ] ; then - [ ${arch} == "ppc64le"] && arch="powerpc64le" + [ "${arch}" == "ppc64le" ] && arch="powerpc64le" rustup target add ${arch}-unknown-linux-gnu else rustup target add ${arch}-unknown-linux-musl