Skip to content

Commit

Permalink
gnu: Improve the diff when comparing diff
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Dec 24, 2023
1 parent 337f5a8 commit 3e892de
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 3e892de

Please sign in to comment.