summaryrefslogtreecommitdiff
path: root/irc/ratbox-services/files/patch-tools_generate-schema.pl
blob: af6b818b0b6d3206a64aa322cb52c0330aa82319 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./tools/generate-schema.pl.orig	2006-09-09 16:41:27.000000000 +0100
+++ ./tools/generate-schema.pl	2008-06-26 15:36:23.000000000 +0100
@@ -15,11 +15,11 @@
 my @schemas = ("base/schema-mysql.txt", "base/schema-pgsql.txt");
 my @plain_schemas = ("base/schema-sqlite.txt");
 
-my %vals = &parse_includes("../include");
+my %vals = &parse_includes("%%PREFIX%%/include");
 
-unless(-r "../include/setup.h")
+unless(-r "%%PREFIX%%/include/setup.h")
 {
-	print("Unable to read ../include/setup.h, please run configure first\n");
+	print("Unable to read %%PREFIX%%/include/setup.h, please run configure first\n");
 	exit();
 }