Skip to content

Commit

Permalink
Merge pull request #5722 from sylvestre/perl-diff
Browse files Browse the repository at this point in the history
gnu: Improve the diff when comparing diff
  • Loading branch information
cakebaker authored Dec 24, 2023
2 parents 337f5a8 + 3e892de commit f2ca22e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/build-gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ else
# 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
sed -i 's| tr | /usr/bin/tr |' tests/init.sh
# Use a better diff
sed -i 's|diff -c|diff -u|g' tests/Coreutils.pm
make -j "$(nproc)"
touch gnu-built
fi
Expand Down

0 comments on commit f2ca22e

Please sign in to comment.