diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 16:35:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-10 16:35:16 +0000 |
commit | 3d8c8cf3bb3c56d84051de4fcd0c16c6f7cd4e10 (patch) | |
tree | ecdc5e67ac43ea088ec8806cf8bae899fe7bdc2b /scripts/metadata.pl | |
parent | da19a09b9e4d7e8177208a8915502b7f15812e83 (diff) | |
download | upstream-3d8c8cf3bb3c56d84051de4fcd0c16c6f7cd4e10.tar.gz upstream-3d8c8cf3bb3c56d84051de4fcd0c16c6f7cd4e10.tar.bz2 upstream-3d8c8cf3bb3c56d84051de4fcd0c16c6f7cd4e10.zip |
scripts/metadata.pl: add support for ignoring source packages when generating metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48170
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-x | scripts/metadata.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 54341c458f..48b1b7a960 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -3,6 +3,7 @@ use FindBin; use lib "$FindBin::Bin"; use strict; use metadata; +use Getopt::Long; my %board; @@ -871,6 +872,7 @@ sub gen_version_filtered_list() { } sub parse_command() { + GetOptions("ignore=s", \@ignore); my $cmd = shift @ARGV; for ($cmd) { /^target_config$/ and return gen_target_config(); @@ -895,6 +897,8 @@ Available Commands: $0 package_licensefull [file] Package license information (full list) $0 version_filter [patchver] [list...] Filter list of version tagged strings +Options: + --ignore <name> Ignore the source package <name> EOF } |