From 3e1d069f8ebcd45f1688396d902065f91b545b6c Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Mon, 8 Jul 2019 19:09:16 +0000 Subject: Add -nocomplain to glob to make it accept empty directories git-svn-id: svn://tug.org/texlive/trunk@51579 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/tlshell/tlshell.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Master/texmf-dist') 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 -- cgit v1.2.3