diff options
-rwxr-xr-x | configure | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |