summaryrefslogtreecommitdiff
path: root/make/configure.pm
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-11-25 15:17:09 +0100
committerGitHub <noreply@github.com>2016-11-25 15:17:09 +0100
commit7ee8ea71b7d6e939d8e08d332feee2a27d662155 (patch)
tree2b55effb2608f58c46daff537e5f0e1bfaae5fdd /make/configure.pm
parent8189eb162eeef6a080bee90b6d6bac119ce4739c (diff)
parent3ad1a0bad2c701e19792618264d01f551c59a1bd (diff)
Merge pull request #1252 from SaberUK/master+distribution
Fix the distribution label not showing up since b8d85c6251.
Diffstat (limited to 'make/configure.pm')
-rw-r--r--make/configure.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/configure.pm b/make/configure.pm
index e88454658..6b4693d45 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -159,7 +159,8 @@ MISC OPTIONS
--socketengine=[name] Sets the socket engine to be used. Possible
values are $SELIST.
--uid=[id|name] Sets the user to run InspIRCd as.
- --update Updates the build environment.
+ --update Updates the build environment with the settings
+ from the cache.
FLAGS
@@ -180,7 +181,7 @@ sub cmd_update {
say 'Updating...';
my %config = read_configure_cache();
my %compiler = get_compiler_info($config{CXX});
- my %version = get_version();
+ my %version = get_version $config{DISTRIBUTION};
parse_templates(\%config, \%compiler, \%version);
say 'Update complete!';
exit 0;