}
+#------------------------------------------------------------------------------
+CHMOD() {
+
+ local cmd="chmod"
+ if [[ "${VERBOSE}" == "y" ]] ; then
+ cmd+=" --verbose"
+ fi
+
+ info "Ausführen: ${cmd} $*"
+ if [[ "${SIMULATE}" != "y" ]] ; then
+ eval ${cmd} "$@"
+ fi
+
+}
+
#------------------------------------------------------------------------------
info() {
echo -e " ${GREEN}*${NORMAL} [$(my_date)] [${BASENAME}:${GREEN}INFO${NORMAL}] : $@"
local tgt_basename=$( basename "${TGT_MOVIE}" )
TMP_MOVIE=$( mktemp --tmpdir="${workdir}" ".~tmp.XXXXXXXX.${tgt_basename}" )
debug "Temporäre Film-Datei: '${TMP_MOVIE}'."
+ CHMOD 0644 "${TMP_MOVIE}"
trap cleanup EXIT TERM HUP INT