diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-08-25 18:52:53 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-08-25 18:52:53 +0000 |
commit | 54aea95a18c6fc26c5319f071fb8b21307478be2 (patch) | |
tree | eb2ef8b2388fb5476eb75f0c61bab20dd0f83608 /lib/sbin/CST | |
parent | 830484bf7e70a76e2f1b6c2495a937f558dd3b5a (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/CST | 7 |
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"; |