You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/03/26 15:13:03 UTC

svn commit: r1305342 - /subversion/trunk/tools/dist/dist.sh

Author: stsp
Date: Mon Mar 26 13:13:03 2012
New Revision: 1305342

URL: http://svn.apache.org/viewvc?rev=1305342&view=rev
Log:
* tools/dist/dist.sh: As part of restoring support for 1.6.x and earlier
   releases in this script, remove the www/ directory from the tarball.

Modified:
    subversion/trunk/tools/dist/dist.sh

Modified: subversion/trunk/tools/dist/dist.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/dist.sh?rev=1305342&r1=1305341&r2=1305342&view=diff
==============================================================================
--- subversion/trunk/tools/dist/dist.sh (original)
+++ subversion/trunk/tools/dist/dist.sh Mon Mar 26 13:13:03 2012
@@ -247,6 +247,11 @@ if [ "$ver_major" -eq "1" -a "$ver_minor
   rm -rf "$DISTPATH/packages"
 fi
 
+# Remove www/ from the tarball for 1.6.x and earlier releases
+if [ "$ver_major" -eq "1" -a "$ver_minor" -le "6" ]; then
+  rm -rf "$DISTPATH/www"
+fi
+
 # Check for a recent enough Python
 # Instead of attempting to deal with various line ending issues, just export
 # the find_python script manually.