Просмотр исходного кода

Merge pull request #68 from theuni/cache

fix: use don't use methods that require new ruby version
tags/0.1
Dev Random 6 лет назад
Родитель
Сommit
3a0e9024b8
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      bin/gbuild

+ 2
- 2
bin/gbuild Просмотреть файл

@@ -80,11 +80,11 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime)
system! "copy-to-target #{@quiet_flag} inputs/#{filename} build/"
end

if Dir.exists?("cache/#{build_desc["name"]}")
if File.directory?("cache/#{build_desc["name"]}")
system! "copy-to-target #{@quiet_flag} cache/#{build_desc["name"]}/ cache/"
end

if Dir.exists?("cache/common")
if File.directory?("cache/common")
system! "copy-to-target #{@quiet_flag} cache/common/ cache/"
end


Загрузка…
Отмена
Сохранить