Fixed variable editing when reading override.conf

This commit is contained in:
ChuckPa 2022-11-02 22:17:15 -04:00
parent efaaaadfc3
commit 6e675ae48b
No known key found for this signature in database
GPG Key ID: 3CE28A0F6BC31B5B

View File

@ -338,8 +338,7 @@ HostConfig() {
cat override.conf local.conf *.conf 2>/dev/null | grep "APPLICATION_SUPPORT_DIR" | head -1)" cat override.conf local.conf *.conf 2>/dev/null | grep "APPLICATION_SUPPORT_DIR" | head -1)"
if [ "$NewSuppDir" != "" ]; then if [ "$NewSuppDir" != "" ]; then
NewSuppDir="${NewSuppDir//[^=]*=/}" NewSuppDir="$(sed -e 's/.*_DIR=//' | tr -d '"' | tr -d "'")"
NewSuppDir="${AppSuppDir//\"}"
if [ -d "$NewSuppDir" ]; then if [ -d "$NewSuppDir" ]; then
AppSuppDir="$NewSuppDir" AppSuppDir="$NewSuppDir"