[Rock-dev] [rock] #314: autoproj_bootstrap: patch mac os
rock
noreply at opendfki.de
Thu Aug 15 10:49:20 CEST 2013
#314: autoproj_bootstrap: patch mac os
-----------------------+------------------------------------
Reporter: anonymous | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Resolution:
Keywords: |
-----------------------+------------------------------------
Comment (by Alexander.Duda):
This is not correct. diff file.orig file_patchted gives you the printed
output. This means the current code is doing the assignment and the patch
is fixing this. But I must admit the format is horrible.
{{{
--- autoproj_bootstrap_orig 2013-08-12 13:01:35.000000000 +0200
+++ autoproj_bootstrap 2013-08-14 22:21:51.000000000 +0200
@@ -17,7 +17,7 @@
@windows
end
- @macos = RbConfig::CONFIG["host_os"] = ~%r!([Dd]arwin)!
+ @macos = RbConfig::CONFIG["host_os"] =~%r!([Dd]arwin)!
def self.macos?
@macos
end
@@ -1982,7 +1982,7 @@
- rubygems
darwin:
- ruby19
- - rake
+ - rb-rake
default: nonexistent
ruby20: ignore
build-essential:
}}}
{{{
irb(main):001:0> RbConfig::CONFIG['host_os']
=> "darwin12.3.0"
}}}
--
Ticket URL: <https://rock.opendfki.de/ticket/314#comment:2>
rock <https://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list