Browse Source

fix: dev: protect some local variables !minor

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
cache-relation
Valentin Lab 5 years ago
parent
commit
3fd2443061
  1. 2
      bin/compose

2
bin/compose

@ -441,7 +441,7 @@ get_compose_file_opt() {
replace_compose_file_opt() { replace_compose_file_opt() {
local hash_bin="$1" override="$2" \
local hash_bin="$1" override="$2" args arg \
cache_file="$COMPOSE_LAUNCHER_CACHE/$FUNCNAME.cache.$(p0 "$@" | hash_get)" cache_file="$COMPOSE_LAUNCHER_CACHE/$FUNCNAME.cache.$(p0 "$@" | hash_get)"
if [ -e "$cache_file" ]; then if [ -e "$cache_file" ]; then
cat "$cache_file" && cat "$cache_file" &&

Loading…
Cancel
Save