diff --git a/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh b/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh index 795237d8..fa297f9b 100755 --- a/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh @@ -301,7 +301,7 @@ if [ "$NZBPR_PostProcess" = "no" ]; then fi ConfigDir="${NZBOP_CONFIGFILE%/*}" -tmplog="$ConfigDir/$tmp.log" +tmplog="$ConfigDir/tmp.log" echo "[INFO] Post-Process: Post-processing script successfully started" | tee $tmplog cd "$NZBPP_DIRECTORY" || (echo "[ERROR] Post-Process: Nothing to post-process: destination directory $NZBPP_DIRECTORY isn't accessible" | tee $tmplog && do_exit $POSTPROCESS_ERROR) diff --git a/nzbget-postprocessing-files/previous/nzbget-postprocess.sh b/nzbget-postprocessing-files/previous/nzbget-postprocess.sh index f5ad617c..33cab2f5 100644 --- a/nzbget-postprocessing-files/previous/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/previous/nzbget-postprocess.sh @@ -266,7 +266,7 @@ if [ "$NZBPR_PostProcess" = "no" ]; then fi ConfigDir="${NZBOP_CONFIGFILE%/*}" -tmplog="$ConfigDir/$tmp.log" +tmplog="$ConfigDir/tmp.log" echo "[INFO] Post-Process: Post-process script successfully started" | tee $tmplog diff --git a/nzbget-postprocessing-files/testing/nzbget-postprocess.sh b/nzbget-postprocessing-files/testing/nzbget-postprocess.sh index 795237d8..fa297f9b 100755 --- a/nzbget-postprocessing-files/testing/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/testing/nzbget-postprocess.sh @@ -301,7 +301,7 @@ if [ "$NZBPR_PostProcess" = "no" ]; then fi ConfigDir="${NZBOP_CONFIGFILE%/*}" -tmplog="$ConfigDir/$tmp.log" +tmplog="$ConfigDir/tmp.log" echo "[INFO] Post-Process: Post-processing script successfully started" | tee $tmplog cd "$NZBPP_DIRECTORY" || (echo "[ERROR] Post-Process: Nothing to post-process: destination directory $NZBPP_DIRECTORY isn't accessible" | tee $tmplog && do_exit $POSTPROCESS_ERROR)