From 0cf06d3e44db71a9ffb5be6b46ab6ff19a5f3853 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 9 Jan 2019 15:18:44 +0100 Subject: [PATCH] fix: nasty typo that cached file in wrong directory and would keep cache version between session. --- bin/compose-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compose-core b/bin/compose-core index 8de78c0..e70bc9e 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -382,7 +382,7 @@ export -f cmd_on_base_image cached_cmd_on_base_image() { - local service="$1" base_image cache_file="$state_dir/$FUNCNAME.cache.$(printf "%s\0" "$@" | md5_compat)" + local service="$1" base_image cache_file="$state_tmpdir/$FUNCNAME.cache.$(printf "%s\0" "$@" | md5_compat)" shift if [ -e "$cache_file" ]; then # debug "$FUNCNAME: cache hit ($*)"