Wildcards are allowed to match no files now.
This commit is contained in:
		
							parent
							
								
									46bd70380c
								
							
						
					
					
						commit
						23e8d5af5a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -427,7 +427,7 @@ loadtarget = function(targetname) | ||||||
| 		if targetname:find("[?*]") then | 		if targetname:find("[?*]") then | ||||||
| 			files = posix.glob(targetname) | 			files = posix.glob(targetname) | ||||||
| 			if not files then | 			if not files then | ||||||
| 				error(string.format("glob '%s' matches no files", targetname)) | 				files = {} | ||||||
| 			end | 			end | ||||||
| 		else | 		else | ||||||
| 			files = {targetname} | 			files = {targetname} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue