diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-02 14:42:41 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-02-02 14:42:41 +0000 |
commit | cb0cb71e8b484344496bbfa028fae0bbd3263ad3 (patch) | |
tree | 93d5fe359a714bed37997ff2e76dfaf6c360b2d7 | |
parent | 2cce40189b9f5b1422b00ddcc14ec3633e29fc15 (diff) |
Minor fix to prevent 0.c ending up in a make.code.defn file.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@181 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | lib/sbin/config_parser.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sbin/config_parser.pl b/lib/sbin/config_parser.pl index dc69b6b3..3b557a92 100644 --- a/lib/sbin/config_parser.pl +++ b/lib/sbin/config_parser.pl @@ -815,7 +815,10 @@ EOT $files = ""; foreach $file (split(" ",$rfr),split(" ",$startup),split(" ",$wrapper)) { - $files = "$files ".$file.".c"; + if($file) + { + $files = "$files ".$file.".c"; + } } print OUT "SRCS = Bindings.c Cactus_RegisterSTARTUP.c Cactus_RegisterRFR.c $files\n"; |