Unverified Commit 4ebe24df authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent f87e77b1
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -50,6 +50,13 @@ if test -z "$patch"; then
    exit
    exit
fi
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);"`
numeric=`perl -e 'printf("%02x%02x%02x\n", '"$major, $minor, $patch);"`


HEADER=include/curl/curlver.h
HEADER=include/curl/curlver.h