diff options
author | Sadie Powell <sadie@witchery.services> | 2021-01-18 06:54:01 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-01-18 06:54:01 +0000 |
commit | 8b2f3980cc8e5bfb0153981b5ca6b08ca39392c2 (patch) | |
tree | abe33405e44a2bc40384a523a14e14e4f6de2850 /make | |
parent | 267d85ac62018b12bc03b53a9c82ed39b4ca7f44 (diff) |
Fix `./configure --update` with cache files generated before v3.2.
Diffstat (limited to 'make')
-rw-r--r-- | make/configure.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/configure.pm b/make/configure.pm index b20639d34..91e2cc7d6 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -191,6 +191,7 @@ sub cmd_update { print_error "You have not run $0 before. Please do this before trying to update the generated files." unless -f CONFIGURE_CACHE_FILE; say 'Updating...'; my %config = read_config_file(CONFIGURE_CACHE_FILE); + $config{EXAMPLE_DIR} //= catdir $config{CONFIG_DIR}, 'examples'; my %compiler = get_compiler_info($config{CXX}); my %version = get_version $config{DISTRIBUTION}; parse_templates(\%config, \%compiler, \%version); |