From bbfc1547932d5788558d5a85168cdeb2e885e8ce Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Thu, 13 Nov 2025 17:36:48 +0900 Subject: [PATCH] build-gnu.sh: Remove || true --- util/build-gnu.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 75dfdb035..681ec5b07 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -132,10 +132,7 @@ cd - # Pass the feature flags to make, which will pass them to cargo "${MAKE}" PROFILE="${UU_MAKE_PROFILE}" CARGOFLAGS="${CARGO_FEATURE_FLAGS}" -touch g -echo "stat with selinux support" -./target/debug/stat -c%C g || true -rm g +[ ${SELINUX_ENABLED} = 1 ] && touch g && echo "stat with selinux support" && "${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