Prevent patch remnants from being included in release tarballs.

* src-release.sh (do_proto_toplev): Strip patch remnant files from
	the sources before creating the tarball.
This commit is contained in:
Nick Clifton 2018-01-29 13:19:02 +00:00
parent 98d72909f8
commit b431b4ea88
2 changed files with 10 additions and 0 deletions

View file

@ -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 {} \;
echo "==> Making $package-$ver/"
# Take out texinfo from a few places.
sed -e '/^all\.normal: /s/\all-texinfo //' \