Improve junk file removal in source tarball creation script.

* src-release.sh (do_proto_toplev): Add patterns for more junk files
	to delete before creating the tarball.
This commit is contained in:
Nick Clifton 2018-01-30 17:48:24 +00:00
parent fcabedd5cb
commit 52b2f30022
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2018-01-30 Nick Clifton <nickc@redhat.com>
* src-release.sh (do_proto_toplev): Add patterns for more junk files
to delete before creating the tarball.
2018-01-29 Nick Clifton <nickc@redhat.com>
* src-release.sh (do_proto_toplev): Strip patch remnant files from

View File

@ -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 {} \;
echo "==> Making $package-$ver/"
# Take out texinfo from a few places.