summaryrefslogtreecommitdiff
path: root/Build/tools/ctan2tl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-05-03 22:25:11 +0000
committerKarl Berry <karl@freefriends.org>2006-05-03 22:25:11 +0000
commit1dc1536d63d9f4ede7fc5d3fff08eea3954abe15 (patch)
tree071b158b6f36b820013e91c313ca670139627414 /Build/tools/ctan2tl
parent146f21b4ffc63ab7f71a770c903eecacdcb96f80 (diff)
first cut at svn instead of p4
git-svn-id: svn://tug.org/texlive/trunk@1566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tools/ctan2tl')
-rwxr-xr-xBuild/tools/ctan2tl20
1 files changed, 13 insertions, 7 deletions
diff --git a/Build/tools/ctan2tl b/Build/tools/ctan2tl
index 05eeaee2212..b5032e76f33 100755
--- a/Build/tools/ctan2tl
+++ b/Build/tools/ctan2tl
@@ -1,13 +1,20 @@
#!/bin/sh
-# $Id: //depot/Master/Tools/ctan2tl#23 $
+# $Id$
# Public domain. Originally written 2005, Karl Berry.
#
-# Takes a ctan directory, pushes it into TL. Just an initial attempt.
-# --no-place to avoid final place invocation (p4 operations).
+# Initial attempt at pushing a ctan directory into TL.
# See ./README for a bit more info.
-
-mydir=`dirname $0` # Master/Tools
-cd $mydir/../../Build/cdbuild/raw || exit 1
+#
+# Basic usage: ctan2tl /path/to/ctan/package
+# --place to include final `place' invocation (repository adds/removes).
+# --no-ctan if already have files in ../cdbuild/raw/PKG.
+#
+# This does not actually commit anything to the repository.
+
+mydir=`dirname $0` # Build/tools
+raw=$mydir/../cdbuild/raw
+test -d $raw || mkdir $raw
+cd $raw || exit 1
if test "x$1" = x--place; then
place=true
@@ -119,6 +126,5 @@ $place || exit 0
printf "\n\f place\n"
rm -rf $pkg.done
../place $pkg
-p4 revert -a
rm -rf ../raw/$pkg