summaryrefslogtreecommitdiff
path: root/make/template/inspircd
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-04-14 12:42:22 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-05-23 14:13:51 +0200
commite6d245a3e80c0e0c05476e5bd9c45a77e16fecec (patch)
tree490b8e34f3bd0f9b85959782a1760e2c7e55fcea /make/template/inspircd
parentb512f1b9667ca0479d42e771082f3bc8d92c63a2 (diff)
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.
Diffstat (limited to 'make/template/inspircd')
-rw-r--r--make/template/inspircd3
1 files changed, 2 insertions, 1 deletions
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)) {