summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index f26976e244a..4a05df23939 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -548,7 +548,7 @@ sub dir_writable {
my $fb = $f;
$fb =~ s!/!\\!g;
return 0 if
- system('copy /b ' . $ENV{'COMSPEC'} . ' "' . $fb . '" >nul 2>&1');
+ system('copy /b nul "' . $fb . '" >nul 2>&1');
unlink $f if -e $f;
return 1;
} else {