Browse Source

build: fix installation of default-variant packages when the source package has multiple variants (#15237)

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 39899
Felix Fietkau 11 years ago
parent
commit
d1c64ab221
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/Makefile

+ 1 - 1
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), \