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 Jan 30 2018, Nick Clifton <nickc@redhat.com> wrote:
> diff --git a/src-release.sh b/src-release.sh
> index 3203a6af2b..7c27ecfcca 100755
> --- a/src-release.sh
> +++ b/src-release.sh
> @@ -79,8 +79,7 @@ do_proto_toplev()
> support_files=$4
>
> echo "==> Cleaning sources."
> - find -name "*.orig" -exec rm {} \;
> - find -name "*.rej" -exec rm {} \;
> + find \( -name "*.orig" -o -name "*.rej" -o -name "*~" -o -name ".#*" -o -name "*~$bkpat" \) -exec rm {} \;
bkpat is an unset variable so this is the same as "*~".
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."