Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | Upstream Status: Inappropriate [No upstream maintenance] |
| 2 | |
| 3 | Signed-off-by: Anne Mulhern <mulhern@yoctoproject.org> |
| 4 | |
| 5 | --- |
| 6 | |
| 7 | Index: Bastille/BastilleBackEnd |
| 8 | =================================================================== |
| 9 | --- Bastille.orig/BastilleBackEnd 2013-08-21 12:40:54.000000000 -0400 |
| 10 | +++ Bastille/BastilleBackEnd 2013-08-21 12:43:21.895950001 -0400 |
| 11 | @@ -52,11 +52,13 @@ |
| 12 | my $force = 0; |
| 13 | my $debug = 0; |
| 14 | my $alternate_config=undef; |
| 15 | +my $os_version=undef; |
| 16 | |
| 17 | if( Getopt::Long::GetOptions( "n" => \$nodisclaim, |
| 18 | "v" => \$verbose, |
| 19 | "force" => \$force, |
| 20 | "f=s" => \$alternate_config, |
| 21 | + "os=s" => \$os_version, |
| 22 | "debug" => \$debug) ) { |
| 23 | $error = 0; # no parse error |
| 24 | |
| 25 | @@ -66,7 +68,8 @@ |
| 26 | |
| 27 | &setOptions( |
| 28 | debug => $debug, |
| 29 | - verbose => $verbose); |
| 30 | + verbose => $verbose, |
| 31 | + os => $os_version); |
| 32 | &ConfigureForDistro; |
| 33 | |
| 34 | if ( $error ) { # GetOptions couldn't parse all of the args |