diff --git a/bin/compose-core b/bin/compose-core index 0cb8190..887e04c 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2398,8 +2398,8 @@ export -f get_compose_relations get_all_services() { - local cache_file="$state_tmpdir/$FUNCNAME.cache.$(H "$GLOBAL_ALL_RELATIONS_HASH")" \ - s rn ts rc td services + local cache_file="$state_tmpdir/$FUNCNAME.cache.$GLOBAL_ALL_RELATIONS_HASH" \ + s rn ts rc td services service if [ -e "$cache_file" ]; then #debug "$FUNCNAME: SESSION cache hit $1" cat "$cache_file" @@ -2418,7 +2418,7 @@ get_all_services() { services["$service"]=1 echo "$service" done - done < <(cat "$GLOBAL_ALL_RELATIONS") > "$cache_file" + done < "$GLOBAL_ALL_RELATIONS" > "$cache_file" cat "$cache_file" }