projects
/
redact.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't abort if embryo_cc's return code is 1.
[redact.git]
/
lib
/
redact
/
app.rb
diff --git
a/lib/redact/app.rb
b/lib/redact/app.rb
index 351897e2ef4c7e693535af593a5d7192d3d438c8..dc9ef9b52b4d52bb8fb8697e0a0cd1f26c452eeb 100644
(file)
--- a/
lib/redact/app.rb
+++ b/
lib/redact/app.rb
@@
-1,5
+1,5
@@
#--
#--
-# $Id: app.rb 3
0 2005-04-23 15:25:2
1Z tilman $
+# $Id: app.rb 3
9 2005-04-28 21:08:1
1Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
@@
-135,7
+135,8
@@
module Redact
c = "embryo_cc " +
"-i #{incl}/include " +
"-o #{tf_out.path} #{tf_in.path}"
c = "embryo_cc " +
"-i #{incl}/include " +
"-o #{tf_out.path} #{tf_in.path}"
- unless system(c)
+ system(c)
+ unless (0..1).include?($?.exitstatus)
raise("Cannot compile Embryo code")
end
raise("Cannot compile Embryo code")
end