summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-11-21 19:54:52 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-11-21 19:54:52 -0500
commit2a823f85e0a027db0bd9691c1653c3954af5b8ca (patch)
treee5b7873c78b93e8e33ae501dfc84d29b6350b1fd
parent105a52a8d37497fe69a01a7de771ef9b9300cd71 (diff)
fix bug in configuration
-rw-r--r--environment/LocalConfig.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment/LocalConfig.pm b/environment/LocalConfig.pm
index 831a3a43..ca26253e 100644
--- a/environment/LocalConfig.pm
+++ b/environment/LocalConfig.pm
@@ -75,6 +75,7 @@ for my $config_key (keys %$CCONFIG) {
die "Can't find HOST_REGEXP for $config_key" unless $re;
if ($host =~ /$re/) {
$senvironment_name = $config_key;
+ last;
}
}