X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=lib%2Fredact%2Fapp.rb;h=b706acc4abed2d3b804b84a79e5afd500c540d6a;hb=46be2501a5b9c1b0e2a5d243beb59d96aeb0f870;hp=d2b192390297aba44ee86305363bba4d99109c8c;hpb=8e136679c89b98b0de2f34e27015a73bf751bd0f;p=redact.git diff --git a/lib/redact/app.rb b/lib/redact/app.rb index d2b1923..b706acc 100644 --- a/lib/redact/app.rb +++ b/lib/redact/app.rb @@ -1,5 +1,5 @@ #-- -# $Id: app.rb 2 2005-03-26 19:16:37Z tilman $ +# $Id: app.rb 4 2005-03-26 19:26:56Z tilman $ # # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) # @@ -139,7 +139,9 @@ EOT c = "embryo_cc " + "-i #{incl}/include " + "-o #{tf_out.path} #{tf_in.path}" - system(c) + unless system(c) + raise("Cannot compile Embryo code") + end ret[col.id] = tf_out.read end