From 9b67ad05b842cc71d8dbc787a11c7c98bd9fc6c3 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Wed, 26 Apr 2023 10:38:39 +0200 Subject: [PATCH] build-gnu.sh: always update PATH in Makefile --- util/build-gnu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 486cf3227..2e089dcf9 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -63,6 +63,8 @@ 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"