From 47eb36c4f506fbf589f931cd88a0f68c5834fb5e Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Thu, 3 Nov 2016 14:51:35 +0100 Subject: [PATCH] MT#19053 bin/config_debug.pl: use GROUP if defined as default value Change-Id: I668ac12171bba1b8ee38a2844ecaba70f10bb0ae --- bin/config_debug.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/config_debug.pl b/bin/config_debug.pl index bb807840..e7ed55a6 100755 --- a/bin/config_debug.pl +++ b/bin/config_debug.pl @@ -41,7 +41,15 @@ sub usage my $help = 0; my $profile = "CE"; -my $group = "scenarios"; +my $group; +if (exists $ENV{'GROUP'}) +{ + $group = $ENV{'GROUP'}; +} +else +{ + $group = "scenarios"; +} GetOptions ("h|help" => \$help, "g|group=s" => \$group) or die("Error in command line arguments\n".usage());