Change if conditions so versioning files are read for *_PATH as well as CONSOLE_* variables.

This commit is contained in:
Tristan Donkers 2015-08-23 10:07:31 +10:00
parent 3e9e72e128
commit 9b60033c24

View File

@ -1789,8 +1789,8 @@ server_property() {
;;
esac
# If its a command lookup, load from versioning files
if [[ "$2" =~ ^CONSOLE_ ]]; then
# If its a command lookup or server path, load from versioning files
if [[ "$2" =~ ^CONSOLE_ ]] || [[ "$2" =~ _PATH$ ]]; then
server_property "$1" VERSION_CONF
if [[ -f "${SERVER_VERSION_CONF[$1]}" ]]; then