]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/configure.pm
Merge pull request #1252 from SaberUK/master+distribution
[user/henk/code/inspircd.git] / make / configure.pm
index e88454658811c34821f9bb5511c94cde438fdd58..6b4693d453532d216f578a771e6c2fb193a72a19 100644 (file)
@@ -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;