Browse Source

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
master
Daniel Stenberg 4 years ago
parent
commit
4ebe24dfea
No known key found for this signature in database GPG Key ID: 5CC908FDB71E12C2
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      maketgz

+ 7
- 0
maketgz View File

@ -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


Loading…
Cancel
Save