diff options
author | Norbert Preining <preining@logic.at> | 2019-07-29 12:42:26 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2019-07-29 12:42:26 +0000 |
commit | ec35e1b00e41d664ae525f2d4002d5d61c887a04 (patch) | |
tree | c7d0261109b6a6c914ede07458fc5d0464ad4133 /Master | |
parent | d4bd5661256058f8a4b767e34b3d6b85b77e80fc (diff) |
support --git argument to ctan2tl
git-svn-id: svn://tug.org/texlive/trunk@51769 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/tlpkg/bin/ctan2tl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl index 3b274800162..aad3a1f830e 100755 --- a/Master/tlpkg/bin/ctan2tl +++ b/Master/tlpkg/bin/ctan2tl @@ -40,6 +40,7 @@ place_chicken=-n copy_from_ctan=true contrib_ctan2tds_arg= contrib_place_arg= +mode=svn while true; do case "$1" in '-p'|'--place') @@ -61,6 +62,11 @@ while true; do contrib_place_arg="--contrib=$contrib_place --mode=git" continue ;; + '--git') + mode="git" + shift + continue + ;; *) break ;; @@ -167,7 +173,7 @@ find $pkg \! -type d -printf "%TY%Tm%Td.%TH%TM %p\n" | sort -k2 \ printf "\n$0: calling place $place_chicken $contrib_place_arg $pkg\n" rm -rf $pkg.done -place $place_chicken $contrib_place_arg $pkg +place $place_chicken --mode $mode $contrib_place_arg $pkg status=$? $copy_from_ctan && rm -rf $raw/$pkg |