This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Prevent patch remnants from being included in release tarballs.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b431b4ea88c8cc1b75edc4aeaa592942a905c18f

commit b431b4ea88c8cc1b75edc4aeaa592942a905c18f
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jan 29 13:19:02 2018 +0000

    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.

Diff:
---
 ChangeLog      | 5 +++++
 src-release.sh | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 7db5d82..c4cb637 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-29  Nick Clifton  <nickc@redhat.com>
+
+	* src-release.sh (do_proto_toplev): Strip patch remnant files from
+	the sources before creating the tarball.
+
 2018-01-13  Nick Clifton  <nickc@redhat.com>
 
 	* src-release.sh: Update copyright notice.  Change reference to devo
diff --git a/src-release.sh b/src-release.sh
index f724397..3203a6a 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 {} \;
+    
     echo "==> Making $package-$ver/"
     # Take out texinfo from a few places.
     sed -e '/^all\.normal: /s/\all-texinfo //' \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]