gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 14/41: maketgz: remove old *.dist files before maki


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 14/41: maketgz: remove old *.dist files before making the tarball
Date: Sun, 20 Aug 2017 20:46:36 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.1
in repository gnurl.

commit 4ebe24dfea0c9f93cbfaee66b52a0670e66124d8
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Aug 10 22:52:28 2017 +0200

    maketgz: remove old *.dist files before making the tarball
    
    To avoid "old crap" unintentionally getting shipped.
    
    Bug: https://curl.haxx.se/mail/lib-2017-08/0050.html
    Reported-by: Christian Weisgerber
---
 maketgz | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/maketgz b/maketgz
index e377c9b73..b740173db 100755
--- a/maketgz
+++ b/maketgz
@@ -50,6 +50,13 @@ if test -z "$patch"; then
     exit
 fi
 
+#
+# As a precaution, remove all *.dist files that may be lying around, to reduce
+# the risk of old leftovers getting shipped. The root 'Makefile.dist' is the
+# exception.
+echo "removing all old *.dist files"
+find . -name "*.dist" -a ! -name Makefile.dist -exec rm {} \;
+
 numeric=`perl -e 'printf("%02x%02x%02x\n", '"$major, $minor, $patch);"`
 
 HEADER=include/curl/curlver.h

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]