diff --git a/sftp/lib/common b/sftp/lib/common index 7610908..ee96789 100644 --- a/sftp/lib/common +++ b/sftp/lib/common @@ -2,7 +2,7 @@ make_build_script() { - local users_def="$1" cache_file="$CACHEDIR/$FUNCNAME.cache.$(p0 "$@" | md5_compat)" + local users_def="$1" cache_file="$CACHEDIR/$FUNCNAME.cache.$(p0 "$@" "$(declare -f "$FUNCNAME")" | md5_compat)" if [ -e "$cache_file" ]; then #debug "$FUNCNAME: STATIC cache hit" cat "$cache_file" &&