diff options
Diffstat (limited to 'Master/tlpkg/bin/ctan2tl')
-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 |