build-gnu.sh: Remove || true

This commit is contained in:
oech3 2025-11-13 17:36:48 +09:00 committed by GitHub
parent d4321315f1
commit bbfc154793
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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