On Wed, Mar 19, 2014 at 12:51:40AM +0000, Philip Martin wrote:
> Ben Reser <b...@reser.org> writes:
> 
> > The 1.9.0-alpha2 release artifacts are now available for testing/signing.
> 
> Is it worth stripping tools/buildbot from the tarball?

+1  I don't think anyone compiling from a tarball needs these files.

Index: tools/dist/dist.sh
===================================================================
--- tools/dist/dist.sh  (revision 1578108)
+++ tools/dist/dist.sh  (working copy)
@@ -228,6 +228,12 @@ ver_major=`echo $VERSION | cut -d '.' -f 1`
 ver_minor=`echo $VERSION | cut -d '.' -f 2`
 ver_patch=`echo $VERSION | cut -d '.' -f 3`
 
+# Remove tools/dev/buildbot from our distribution tarball. 
+# End users cannot really do anything with these files.
+if [ "$ver_major" -eq "1" -a "$ver_minor" -ge "9" ]; then
+  rm -rf "$DISTPATH/tools/buildbot"
+fi
+
 # Remove contrib/ from our distribution tarball.  Some of it is of
 # unknown license, and usefulness.
 # (See http://svn.haxx.se/dev/archive-2009-04/0166.shtml for discussion.)

Reply via email to