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
commit483e4a95118f24ebdef7a94176337b6e12e3dea4 (patch)
tree9f3f92d922e679dea7af93863b84145a4bee447e
parenta5592c9ab0266dbf4993e42e82e5a113316990ad (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;
}
}