bin/autoproj_bootstrap in autoproj-1.9.0.rc7 vs bin/autoproj_bootstrap in autoproj-1.9.0
- old
+ new
@@ -855,12 +855,12 @@
if @operating_system.nil?
# Need to do some heuristics unfortunately
@operating_system =
if File.exists?('/etc/debian_version')
- codenames = [File.read('/etc/debian_version').strip]
- if codenames.first =~ /sid/
- versions = codenames + ["unstable", "sid"]
+ versions = [File.read('/etc/debian_version').strip]
+ if versions.first =~ /sid/
+ versions = ["unstable", "sid"]
end
[['debian'], versions]
elsif File.exists?('/etc/fedora-release')
release_string = File.read('/etc/fedora-release').strip
release_string =~ /Fedora release (\d+)/