Author: nbd
Date: 2014-06-12 16:35:09 +0200 (Thu, 12 Jun 2014)
New Revision: 41160

Modified:
   trunk/scripts/metadata.pl
Log:
scripts/metadata.pl: avoid adding depends and select for the same symbol

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

Modified: trunk/scripts/metadata.pl
===================================================================
--- trunk/scripts/metadata.pl   2014-06-12 13:43:58 UTC (rev 41159)
+++ trunk/scripts/metadata.pl   2014-06-12 14:35:09 UTC (rev 41160)
@@ -504,7 +504,7 @@
                                        next if $depend eq $condition;
                                        $depend = "$depend if $condition";
                                } else {
-                                       $depend = "!($condition) || $depend";
+                                       $depend = "!($condition) || $depend" 
unless $dep->{$condition} eq 'select';
                                }
                        }
                }
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to