Merge pull request #5756 from sylvestre/gnu-rebuilt

GNU: Improve the built
This commit is contained in:
Daniel Hofstetter
2023-12-31 14:00:05 +01:00
committed by GitHub
+1 -3
View File
@@ -102,14 +102,12 @@ for binary in $(./build-aux/gen-lists-of-programs.sh --list-progs); do
done
if test -f gnu-built; then
# Change the PATH in the Makefile to test the uutils coreutils instead of the GNU coreutils
sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile
echo "GNU build already found. Skip"
echo "'rm -f $(pwd)/gnu-built' to force the build"
echo "Note: the customization of the tests will still happen"
else
./bootstrap --skip-po
./configure --quiet --disable-gcc-warnings
./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references
#Add timeout to to protect against hangs
sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver
# Change the PATH in the Makefile to test the uutils coreutils instead of the GNU coreutils