summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/tlshell
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2019-07-08 19:09:16 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2019-07-08 19:09:16 +0000
commit3e1d069f8ebcd45f1688396d902065f91b545b6c (patch)
treea2b35715876561d0e76498a962f94549c87e0465 /Master/texmf-dist/scripts/tlshell
parentd3c9cbd07ebfcf9a89e94f02b80035455070785b (diff)
Add -nocomplain to glob to make it accept empty directories
git-svn-id: svn://tug.org/texlive/trunk@51579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/tlshell')
-rwxr-xr-xMaster/texmf-dist/scripts/tlshell/tlshell.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/tlshell/tlshell.tcl b/Master/texmf-dist/scripts/tlshell/tlshell.tcl
index 85598ad7e7f..cc7f43e5e28 100755
--- a/Master/texmf-dist/scripts/tlshell/tlshell.tcl
+++ b/Master/texmf-dist/scripts/tlshell/tlshell.tcl
@@ -1434,7 +1434,7 @@ proc restore_backups_dialog {} {
}
set pwd0 [pwd]
cd $bdir
- set backups [lsort [glob *.tar.xz]]
+ set backups [lsort [glob -nocomplain *.tar.xz]]
if {[llength $backups] == 0} {
tk_messageBox -message [__ "No backups found in $bdir"]
return