This is the mail archive of the binutils@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]

Re: 2.30 tar.xz archive contains .rej files


Hi Maciej,

>  And:
> 
>     find -name "*~" -exec rm {} \;

Done.  Plus .#* and *~$bkpat.  (That last one comes from the cvsclean
script that I have been using for donkey's years.  But I have no idea
what might actually generate that particular file extension.

Cheers
  Nick

./ChangeLog
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.

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


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