From ec35e1b00e41d664ae525f2d4002d5d61c887a04 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 29 Jul 2019 12:42:26 +0000 Subject: support --git argument to ctan2tl git-svn-id: svn://tug.org/texlive/trunk@51769 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/ctan2tl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Master') 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 -- cgit v1.2.3