From e6d245a3e80c0e0c05476e5bd9c45a77e16fecec Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 14 Apr 2014 12:42:22 +0100 Subject: Replace the configure templating system with something better. A large amount of this code can be removed when buildtool is done as we will not need to worry about the differences between BSD and GNU Make. --- make/template/inspircd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make/template/inspircd') diff --git a/make/template/inspircd b/make/template/inspircd index c14099323..7610557b8 100644 --- a/make/template/inspircd +++ b/make/template/inspircd @@ -1,3 +1,4 @@ +%mode 0750 #!/usr/bin/env perl # @@ -30,7 +31,7 @@ my $runpath = "@BASE_DIR@"; my $datadir = "@DATA_DIR@"; my $valgrindlogpath = "$basepath/valgrindlogs"; my $executable = "inspircd"; -my $version = "@VERSION@"; +my $version = "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@+@VERSION_LABEL@"; my $uid = "@UID@"; if (!("--runasroot" ~~ @ARGV) && ($< == 0 || $> == 0)) { -- cgit v1.2.3