From e2c4855d2cc17205d5a13f8f6a11a89f7806b973 Mon Sep 17 00:00:00 2001 From: Azlux Date: Tue, 17 May 2022 00:37:28 +0200 Subject: [PATCH] Fixing readonly variable --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4050128..4de94b8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,8 +3,8 @@ set -e readonly DATA_DIR="/data" readonly BARE_BONES_CONFIG_FILE="/etc/mumble/bare_config.ini" -readonly CONFIG_FILE="${DATA_DIR}/mumble_server_config.ini" readonly CONFIG_REGEX="^(\;|\#)?\ *([a-zA-Z_0-9]+)=.*" +CONFIG_FILE="${DATA_DIR}/mumble_server_config.ini" # Compile list of configuration options from the bare-bones config readarray -t existing_config_options < <(sed -En "s/$CONFIG_REGEX/\2/p" "$BARE_BONES_CONFIG_FILE")