diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-08-10 22:52:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-10 22:56:49 +0200 |
commit | 4ebe24dfea0c9f93cbfaee66b52a0670e66124d8 (patch) | |
tree | 6a123438f4de53ea9c8b6b6dde95ebdcc49c091f | |
parent | f87e77b1d849435fcefdde01a7fede7c9e2ff3df (diff) |
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
-rwxr-xr-x | maketgz | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |