Commit 0ed1e7c7 authored by ddkilzer@apple.com's avatar ddkilzer@apple.com

Cleaned up ugly if/else statement.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a1fa759a
......@@ -204,11 +204,7 @@ Usage: $programName [options] [testdir|testpath ...]
EOF
# Process @ARGV for configuration switches before calling GetOptions()
if (my $passedConfiguration = passedConfiguration()) {
$configuration = $passedConfiguration;
} else {
$configuration = configuration();
}
$configuration = passedConfiguration() || configuration();
my $getOptionsResult = GetOptions(
'c|configuration=s' => \$configuration,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment