Signed-off-by: Jonh Wendell <[email protected]>
---
 scripts/feeds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/feeds b/scripts/feeds
index b1bdee5..e6bc8f7 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -49,7 +49,7 @@ sub parse_config() {

                my $valid = 1;
                $line[0] =~ /^src-\w+$/ or $valid = 0;
-               $line[1] =~ /^\w+$/ or $valid = 0;
+               $line[1] =~ /^[a-zA-Z0-9\-_]+$/ or $valid = 0;
                @src = split /\s+/, $line[2];
                $valid or die "Syntax error in feeds.conf, line: $line\n";

-- 
1.7.11.2


-- 
Jonh Wendell
http://www.bani.com.br
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to