aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-12 19:53:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-12 19:53:13 +0000
commitd1c64ab221aff30db0ae13d41bbb9e571ee1bd45 (patch)
tree115c7dd03d6e730ab247687c5661f9f0798f0bc1
parentbc6223666ef74d20ce90f16123efc41d9c6bc5f5 (diff)
downloadupstream-d1c64ab221aff30db0ae13d41bbb9e571ee1bd45.tar.gz
upstream-d1c64ab221aff30db0ae13d41bbb9e571ee1bd45.tar.bz2
upstream-d1c64ab221aff30db0ae13d41bbb9e571ee1bd45.zip
build: fix installation of default-variant packages when the source package has multiple variants (#15237)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39899
-rw-r--r--package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index f82654cf90..d46cb2ca0e 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), \