From 378e0992790622f7111174c8934ac1368041831b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 7 May 2009 23:26:07 +0000 Subject: fix inclusion of .svn dirs in containers git-svn-id: svn://tug.org/texlive/branches/branch2009-dev@12998 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPOBJ.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Master') diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index f28f8974cb9..6b08caf8067 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -557,9 +557,11 @@ sub make_container { # No owner/group options if we are being called on a user's machine to # make a backup. We only want these when we are making the master - # containers for tlnet. + # containers for tlnet. Also exclude .svn directories when making the + # masters. We determine user vs. master by whether there's a revision + # suffix in the container name. my @attrs = $containername =~ /\.r[0-9]/ - ? () : ("--owner", "0", "--group", "0"); + ? () : ("--owner", "0", "--group", "0", "--exclude", ".svn"); my @cmdline = ($tar, "-cf", "$destdir/$tarname", @attrs); # Get list of files and symlinks to back up. Nothing else should be -- cgit v1.2.3