mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Rakefile: read build-config.local
if present and overlay over build-config
This commit is contained in:
parent
8b229b399c
commit
0dc4ed132c
2
.gitignore
vendored
2
.gitignore
vendored
@ -14,7 +14,7 @@
|
||||
/Release
|
||||
/autom4te.cache
|
||||
/build-config
|
||||
/build-config
|
||||
/build-config.local
|
||||
/build-stamp
|
||||
/config.cache
|
||||
/config.guess
|
||||
|
@ -12,7 +12,11 @@ end
|
||||
|
||||
def read_build_config
|
||||
fail "build-config not found: please run ./configure" unless File.exists?("build-config")
|
||||
read_config_file("build-config")
|
||||
|
||||
config = read_config_file("build-config")
|
||||
config = config.merge(read_config_file("build-config.local")) if File.exists?("build-config.local")
|
||||
|
||||
config
|
||||
end
|
||||
|
||||
def c(idx, default = '')
|
||||
|
Loading…
Reference in New Issue
Block a user