From ea0af7bd05cfe913136c801c18588ffb147f066d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 3 Mar 2024 18:39:50 -0500 Subject: Fix invalid tests (/bin/sh) --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 15c34bb..16d143a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -156,7 +156,7 @@ RUN apt-get update \ # Prefer NEO to Beignet since the latter one doesn't support Comet Lake or newer for now. # Do not use the intel-opencl-icd package from repo since they will not build with RELEASE_WITH_REGKEYS enabled. # https://github.com/intel/compute-runtime/releases -RUN if [[ ${PACKAGE_ARCH} == "amd64" ]]; then \ +RUN if test "${PACKAGE_ARCH}" == "amd64"; then \ mkdir intel-compute-runtime \ && pushd intel-compute-runtime \ && curl -LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-core_${IGC_VERSION}_amd64.deb \ @@ -173,7 +173,7 @@ RUN if [[ ${PACKAGE_ARCH} == "amd64" ]]; then \ && rm -rf /var/cache/apt/archives* /var/lib/apt/lists/* # Rockchip RK3588 libmali OpenCL dependencies: -RUN if [[ ${PACKAGE_ARCH} == "arm64" ]]; then \ +RUN if test "${PACKAGE_ARCH}" == "arm64"; then \ mkdir libmali-rockchip \ && cd libmali-rockchip \ && curl -LO https://github.com/tsukumijima/libmali-rockchip/releases/download/${MALI_PKG_TAG}/libmali-${MALI_PKG_CFG}_${MALI_PKG_VER}.deb \ -- cgit