fix name of tmp.log

This commit is contained in:
clinton-hall 2013-04-09 16:44:42 +09:30
commit 4a1b246165
3 changed files with 3 additions and 3 deletions

View file

@ -301,7 +301,7 @@ if [ "$NZBPR_PostProcess" = "no" ]; then
fi fi
ConfigDir="${NZBOP_CONFIGFILE%/*}" ConfigDir="${NZBOP_CONFIGFILE%/*}"
tmplog="$ConfigDir/$tmp.log" tmplog="$ConfigDir/tmp.log"
echo "[INFO] Post-Process: Post-processing script successfully started" | tee $tmplog 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) cd "$NZBPP_DIRECTORY" || (echo "[ERROR] Post-Process: Nothing to post-process: destination directory $NZBPP_DIRECTORY isn't accessible" | tee $tmplog && do_exit $POSTPROCESS_ERROR)

View file

@ -266,7 +266,7 @@ if [ "$NZBPR_PostProcess" = "no" ]; then
fi fi
ConfigDir="${NZBOP_CONFIGFILE%/*}" ConfigDir="${NZBOP_CONFIGFILE%/*}"
tmplog="$ConfigDir/$tmp.log" tmplog="$ConfigDir/tmp.log"
echo "[INFO] Post-Process: Post-process script successfully started" | tee $tmplog echo "[INFO] Post-Process: Post-process script successfully started" | tee $tmplog

View file

@ -301,7 +301,7 @@ if [ "$NZBPR_PostProcess" = "no" ]; then
fi fi
ConfigDir="${NZBOP_CONFIGFILE%/*}" ConfigDir="${NZBOP_CONFIGFILE%/*}"
tmplog="$ConfigDir/$tmp.log" tmplog="$ConfigDir/tmp.log"
echo "[INFO] Post-Process: Post-processing script successfully started" | tee $tmplog 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) cd "$NZBPP_DIRECTORY" || (echo "[ERROR] Post-Process: Nothing to post-process: destination directory $NZBPP_DIRECTORY isn't accessible" | tee $tmplog && do_exit $POSTPROCESS_ERROR)