1 means 'succeeded, but with warnings'.
--
-$Id: ChangeLog 38 2005-04-25 17:47:15Z tilman $
+$Id: ChangeLog 39 2005-04-28 21:08:11Z tilman $
++
+2005-04-28 Tilman Sauerbeck (tilman at code-monkey de)
+ * lib/redact/app.rb: Don't abort if embryo_cc's return code is 1
+ (which means 'succeeded, but with warnings')
+
2005-04-25 Tilman Sauerbeck (tilman at code-monkey de)
* Rakefile: Don't include one FileList in another
#--
-# $Id: app.rb 30 2005-04-23 15:25:21Z tilman $
+# $Id: app.rb 39 2005-04-28 21:08:11Z tilman $
#
# Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
#
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