#new approach that creates a cmd file.
cmdfile="$(mktemp $CLAM_TMP/build_cmds.XXXXXX)"
echo "${real_commands[@]}" >"$cmdfile"
#new approach that creates a cmd file.
cmdfile="$(mktemp $CLAM_TMP/build_cmds.XXXXXX)"
echo "${real_commands[@]}" >"$cmdfile"