Skip to content

Commit

Permalink
FIX - var substitution now correctly recognized using echo
Browse files Browse the repository at this point in the history
  • Loading branch information
MRColorR committed Sep 26, 2023
1 parent 64a6ef8 commit ddb8d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ fn_setupApp() {
local flags=$(jq -r 'keys[]' <<< "$(jq '.flags?' <<< "$app_json")")
#local flags=($(jq -r '.flags[]?' <<< "$app_json")) # The ? is to make the flags field optional if not present in the json it will be set to null. The flags are then stored in an arrayusing the parenthesis()
local claimURLBase=$(jq -r '.claimURLBase? // .link' <<< "$app_json") # The ? is to make the claimURLBase field optional if not present in the json it will be set to the link field
local CURRENT_APP=$( "${name}" | tr '[:lower:]' '[:upper:]')
local CURRENT_APP=$(echo "${name}" | tr '[:lower:]' '[:upper:]')
while true; do
# Check if the ${CURRENT_APP} is already enabled in the ${dk_compose_filename} file and if it is not (if there is a #ENABLE_$CURRENTAPP) then ask the user if they want to enable it
debug "Checking if the ${CURRENT_APP} app is already enabled in the ${dk_compose_filename} file"
Expand Down

0 comments on commit ddb8d44

Please sign in to comment.