From 0b4ee6ac273c0d3813913aa10471622236472ce6 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sun, 16 Mar 2008 17:09:00 -0600 Subject: [PATCH] Remove pre_update_hook decoration Improve the portability. The Windows version of "echo" does not support single quotes as a quoting character and therefore fails and prevents updates in the Windows nightly build. --- src/scripts/nightly/patches/All/pre_update.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/nightly/patches/All/pre_update.patch b/src/scripts/nightly/patches/All/pre_update.patch index a2b5d9f3..f44ed6f3 100644 --- a/src/scripts/nightly/patches/All/pre_update.patch +++ b/src/scripts/nightly/patches/All/pre_update.patch @@ -6,7 +6,7 @@ Index: empserver/src/lib/global/constants.c 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 >=-'"; ++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 */