Skip to content

Commit

Permalink
Update app_list_referenced.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CLHatch committed Feb 18, 2025
1 parent 7b5c7ec commit 3f4b134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .scripts/app_list_referenced.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IFS=$'\n\t'

app_list_referenced() {
local APPNAME_REGEX='^[A-Z][A-Z0-9]*(__[A-Z0-9]+)?'
local REFERENCED_APPS_REGEX="${APPNAME_REGEX}(?=__\w+\s*=)"
local REFERENCED_APPS_REGEX="${APPNAME_REGEX}(?=__[A-Za-z0-9]\w*\s*=)"

grep --color=never -o -P "${REFERENCED_APPS_REGEX}" "${COMPOSE_ENV}" | sort -u || true
}
Expand Down

0 comments on commit 3f4b134

Please sign in to comment.