mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
gnu: Improve the diff when comparing diff
This commit is contained in:
parent
337f5a8aae
commit
3e892de4d5
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ else
|
||||||
# Change the PATH in the Makefile to test the uutils coreutils instead of the GNU coreutils
|
# 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/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile
|
||||||
sed -i 's| tr | /usr/bin/tr |' tests/init.sh
|
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)"
|
make -j "$(nproc)"
|
||||||
touch gnu-built
|
touch gnu-built
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue