projects
/
ruby-vorbistagger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a valid exit code in Rake::ConfigureTask::Test#can_exec_binary?.
[ruby-vorbistagger.git]
/
rake
/
configuretask.rb
diff --git
a/rake/configuretask.rb
b/rake/configuretask.rb
index 9a20f794f59c7ed0445e40ccd9e13c67766b0961..0cad7ca23116b40ad693588557b7ec49399fc861 100644
(file)
--- a/
rake/configuretask.rb
+++ b/
rake/configuretask.rb
@@
-147,13
+147,15
@@
module Rake
begin
exec(bin)
rescue SystemCallError
- exit 0xb00bface
+ exit 255
+ ensure
+ tf.close
end
end
Process.wait
- $?.exitstatus !=
0xb00bface
+ $?.exitstatus !=
255
end
end