Skip to content

Commit

Permalink
make cider happy for 1.9.2 users
Browse files Browse the repository at this point in the history
  • Loading branch information
atmos committed Jul 12, 2010
1 parent ad7532e commit 9b0dfff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cider
Expand Up @@ -17,7 +17,7 @@ MACOS_VERSION = /(10\.\d+)(\.\d+)?/.match(MACOS_FULL_VERSION).captures.firs
if MACOS_VERSION >= 10.6
begin
xcode_path = `/usr/bin/xcode-select -print-path`.chomp
return nil if xcode_path.empty?
exit(1) if xcode_path.empty?
if `#{xcode_path}/usr/bin/llvm-gcc-4.2 -v 2>&1` =~ /LLVM build (\d{4,})/
if $1.to_i < RECOMMENDED_LLVM
$stderr.puts "You should really upgrade your xcode install"
Expand Down
2 changes: 1 addition & 1 deletion lib/cider.rb
Expand Up @@ -11,7 +11,7 @@ def self.run
def run
system("rm -rf ~/.cider")
system("chef-solo -c #{config}")
exit($?)
exit($?.to_i)
end

def config
Expand Down

0 comments on commit 9b0dfff

Please sign in to comment.