summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 5ec38b8fb..287030524 100755
--- a/configure
+++ b/configure
@@ -874,9 +874,8 @@ sub writefiles {
# First File.. inspircd_config.h
chomp(my $incos = `uname -n -s -r`);
chomp(my $version = `sh ./src/version.sh`);
- chomp(my $revision = " (r" + `./src/svn-rev.sh`);
- $revision = $revision + ")";
- my $version = $version + $revision;
+ chomp(my $revision = `./src/svn-rev.sh`);
+ $version = "$version (r$revision)";
chomp(my $revision2 = `./src/svn-rev.sh`);
open(FILEHANDLE, ">include/inspircd_config.h");
my $NL = $config{NICK_LENGT}+1;