diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-install-pkg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-update-install-pkg b/Master/tlpkg/bin/tl-update-install-pkg index 3c087d0dcc2..24397828909 100755 --- a/Master/tlpkg/bin/tl-update-install-pkg +++ b/Master/tlpkg/bin/tl-update-install-pkg @@ -208,7 +208,7 @@ sub make_zip { chomp (my $prevdir = `pwd`); &xchdir ($tmpdir); if ($type eq 'zip') { - &xsystem ('zip', '-rq', 'install-tl.zip', $install_tl_name); + &xsystem ('zip', '-rq', 'install-tl.zip', $install_tl_name); } elsif ($type eq 'nsis') { # write include file for dated install directory. @@ -266,7 +266,8 @@ sub install_files { # These tlpkg/ subdirs exist when installing via tl-update-tlnet (?), # though not when testing this script standalone. - xsystem ("cd tlpkg && rm -rf TeXLive installer tlperl translations gpg"); + my $tlpkg_subdirs = "TeXLive installer tlperl tltcl translations gpg"; + xsystem ("cd tlpkg && rm -rf $tlpkg_subdirs"); xsystem ("mv $junkdir/$install_tl_name/tlpkg/* tlpkg/"); xsystem ("rm -rf $junkdir"); } |