From 6d7203ef4b694110eab412c25f2b3d4f59e94f7a Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Mon, 15 Jan 2018 00:00:41 -0600 Subject: [PATCH] Update eqemu_server.pl --- utils/scripts/eqemu_server.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/scripts/eqemu_server.pl b/utils/scripts/eqemu_server.pl index 5f7dc5992..220776c0a 100644 --- a/utils/scripts/eqemu_server.pl +++ b/utils/scripts/eqemu_server.pl @@ -646,7 +646,12 @@ sub do_self_update_check_routine { sub get_installation_variables{ #::: Fetch installation variables before building the config if($OS eq "Linux"){ - open (INSTALL_VARS, "../install_variables.txt"); + if(-e "../install_variables.txt") { + open (INSTALL_VARS, "../install_variables.txt"); + } + elsif(-e "install_variables.txt") { + open (INSTALL_VARS, "./install_variables.txt"); + } } if($OS eq "Windows"){ open (INSTALL_VARS, "install_variables.txt");