mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
build-gnu.sh: fix the error on line 110
util/build-gnu.sh: ligne 110 : [: = : opérateur unaire attendu
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user