This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: 2.30 tar.xz archive contains .rej files
On Mon, 29 Jan 2018, Nick Clifton wrote:
> diff --git a/src-release.sh b/src-release.sh
> index f7243970c9..3203a6af2b 100755
> --- a/src-release.sh
> +++ b/src-release.sh
> @@ -77,6 +77,11 @@ do_proto_toplev()
> ver=$2
> tool=$3
> support_files=$4
> +
> + echo "==> Cleaning sources."
> + find -name "*.orig" -exec rm {} \;
> + find -name "*.rej" -exec rm {} \;
And:
find -name "*~" -exec rm {} \;
presumably as well so that things work as expected even if you use a
different or upgraded system for a release? I haven't figured why e.g.
some builds of GNU patch use `.orig' as the suffix while other ones use
`~'. It must be coming from the configury somewhere.
Maciej