summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-05-07 23:26:07 +0000
committerNorbert Preining <preining@logic.at>2009-05-07 23:26:07 +0000
commit378e0992790622f7111174c8934ac1368041831b (patch)
treec0215776def7b19cde0ec9b7614edde5c6e1de76
parent7513a478ad7c3be09af3d51dd6ade218547a2c6a (diff)
fix inclusion of .svn dirs in containers
git-svn-id: svn://tug.org/texlive/branches/branch2009-dev@12998 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm6
1 files changed, 4 insertions, 2 deletions
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