diff --git a/scripts/app-config.sh b/scripts/app-config.sh index 3cba813..b902e42 100644 --- a/scripts/app-config.sh +++ b/scripts/app-config.sh @@ -92,7 +92,7 @@ process_entries() { if [ "$(echo "$config_entry" | jq -r '.properties | type')" = "array" ]; then for entry in $properties; do entry_name=$(echo "$entry" | sed 's/^"//' | sed 's/"$//' | tr -d "*#&") # Remove surrounding quotes and denoters - denoter=$(echo "$entry" | cut -c1) + denoter=$(echo "${entry%${entry#?}}") [ -n "$(grep "^$entry_name=" "$ENV_FILE")" ] && is_update=true diff --git a/scripts/util/uuid-generator.sh b/scripts/util/uuid-generator.sh index 8056569..09defff 100644 --- a/scripts/util/uuid-generator.sh +++ b/scripts/util/uuid-generator.sh @@ -1,8 +1,6 @@ #!/bin/sh generate_uuid() { - local denoter="$1" - if [ "$(uname)" = "Darwin" ]; then uuid="$(uuidgen | tr 'A-Z' 'a-z')" else