summaryrefslogtreecommitdiff
path: root/lib/sbin/CST
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-08-25 18:52:53 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-08-25 18:52:53 +0000
commit54aea95a18c6fc26c5319f071fb8b21307478be2 (patch)
treeeb2ef8b2388fb5476eb75f0c61bab20dd0f83608 /lib/sbin/CST
parent830484bf7e70a76e2f1b6c2495a937f558dd3b5a (diff)
Allow a configuration.ccl file for the flesh
The mechanism in Cactus that handles configuration.ccl files currently cannot handle a configuration.ccl for the flesh. This patch corrects this. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4720 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CST')
-rw-r--r--lib/sbin/CST7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sbin/CST b/lib/sbin/CST
index 0032b499..d19a357f 100644
--- a/lib/sbin/CST
+++ b/lib/sbin/CST
@@ -331,14 +331,15 @@ sub CreateMakeThornlist
foreach $thorn (sort keys %$thorns)
{
- if($config->{"\U$thorn\E OPTIONS"} ne 'NO_SOURCE' &&
- $thorn ne 'Cactus')
+ next if $thorn eq 'Cactus';
+
+ if($config->{"\U$thorn\E OPTIONS"} ne 'NO_SOURCE')
{
$thorns->{$thorn} =~ m:.*/(.*/.*):;
$thornlist .= " $1";
}
- if( -r "$thorns->{$thorn}/configuration.ccl")
+ if(-r "$thorns->{$thorn}/configuration.ccl")
{
$thorns->{$thorn} =~ m:.*/(.*/.*):;
$config_thornlist .= " $1";