From d1c64ab221aff30db0ae13d41bbb9e571ee1bd45 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 12 Mar 2014 19:53:13 +0000 Subject: [PATCH] build: fix installation of default-variant packages when the source package has multiple variants (#15237) Signed-off-by: Felix Fietkau SVN-Revision: 39899 --- package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile b/package/Makefile index f82654cf900..d46cb2ca0e3 100644 --- a/package/Makefile +++ b/package/Makefile @@ -76,7 +76,7 @@ OPKG:= \ PACKAGE_INSTALL_FILES:= \ $(foreach pkg,$(sort $(package-y)), \ $(foreach variant, \ - $(if $(package/$(pkg)/variants), \ + $(if $(strip $(package/$(pkg)/variants)), \ $(package/$(pkg)/variants), \ $(if $(package/$(pkg)/default-variant), \ $(package/$(pkg)/default-variant), \