]> git.pond.sub.org Git - empserver/commitdiff
Don't patch constants.c for nightly, use econfig
authorRon J Koenderink <koenderink@sasktel.net>
Fri, 4 Dec 2009 02:21:22 +0000 (20:21 -0600)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 13 Dec 2009 07:20:01 +0000 (08:20 +0100)
src/scripts/nightly/patches/All/pre_update.econfig [new file with mode: 0644]
src/scripts/nightly/patches/All/pre_update.patch [deleted file]

diff --git a/src/scripts/nightly/patches/All/pre_update.econfig b/src/scripts/nightly/patches/All/pre_update.econfig
new file mode 100644 (file)
index 0000000..7da01ab
--- /dev/null
@@ -0,0 +1 @@
+echo pre_update_hook '"echo pre_update_hook executed here"'
diff --git a/src/scripts/nightly/patches/All/pre_update.patch b/src/scripts/nightly/patches/All/pre_update.patch
deleted file mode 100644 (file)
index f96b9db..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: empserver/src/lib/global/constants.c
---- empserver/src/lib/global/constants.c       23 Aug 2007 18:26:04 -0000      1.40
-+++ empserver/src/lib/global/constants.c       9 Sep 2007 02:42:51 -0000
-@@ -61,7 +61,7 @@
- char *update_demandtimes = "";        /* demand update time ranges */
- char *game_days = "";         /* days game is running */
- char *game_hours = "";                /* hours game is running */
--char *pre_update_hook = "";
-+char *pre_update_hook = "echo pre_update_hook executed here";
- int max_idle = 15;            /* session dies after max_idle minutes idle */
-
- int sect_mob_max = 127;               /* sector mobility limits */