diff options
Diffstat (limited to 'Build/tools/ctan2tl')
-rwxr-xr-x | Build/tools/ctan2tl | 20 |
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 |