From 0500ee3d76385c223d1c9188cf547d91a3f00f31 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 15 Nov 2025 22:22:31 +0100 Subject: [PATCH] =?UTF-8?q?build-gnu.sh:=20fix=20the=20error=20on=20line?= =?UTF-8?q?=20110=20util/build-gnu.sh:=20ligne=20110=20:=20[:=20=3D=20:=20?= =?UTF-8?q?op=C3=A9rateur=20unaire=20attendu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/build-gnu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index cb23f0ad0..f3596c411 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -107,7 +107,7 @@ cd - # Pass the feature flags to make, which will pass them to cargo "${MAKE}" PROFILE="${UU_MAKE_PROFILE}" CARGOFLAGS="${CARGO_FEATURE_FLAGS}" # min test for SELinux -[ ${SELINUX_ENABLED} = 1 ] && touch g && "${UU_MAKE_PROFILE}"/stat -c%C g && rm g +[ "${SELINUX_ENABLED}" = 1 ] && touch g && "${UU_MAKE_PROFILE}"/stat -c%C g && rm g cp "${UU_BUILD_DIR}/install" "${UU_BUILD_DIR}/ginstall" # The GNU tests rename this script before running, to avoid confusion with the make target # Create *sum binaries @@ -141,7 +141,7 @@ else sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" tests/local.mk ./bootstrap --skip-po ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \ - "$([ ${SELINUX_ENABLED} = 1 ] && echo --with-selinux || echo --without-selinux)" + "$([ "${SELINUX_ENABLED}" = 1 ] && echo --with-selinux || echo --without-selinux)" #Add timeout to to protect against hangs sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver sed -i 's| tr | /usr/bin/tr |' tests/init.sh