Browse Source

fix: nasty typo that cached file in wrong directory and would keep cache version between session.

hostresources
Valentin Lab 6 years ago
parent
commit
0cf06d3e44
  1. 2
      bin/compose-core

2
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 ($*)"

Loading…
Cancel
Save