scripts/target_config_lib.lua: make arg[3] optional
by defaulting to nil
This commit is contained in:
		
							parent
							
								
									59d1653be6
								
							
						
					
					
						commit
						7431b3916c
					
				| @ -7,7 +7,7 @@ return function(funcs) | |||||||
| 
 | 
 | ||||||
| 	local target = arg[1] | 	local target = arg[1] | ||||||
| 	local default_packages = arg[2] | 	local default_packages = arg[2] | ||||||
| 	local extra_packages = arg[3] | 	local extra_packages = arg[3] or "" | ||||||
| 
 | 
 | ||||||
| 	local openwrt_config_target | 	local openwrt_config_target | ||||||
| 	if env.SUBTARGET ~= '' then | 	if env.SUBTARGET ~= '' then | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user