Improve strings.
[sitka/sitka-tools.git] / marc_export_custom / mucn-full-export-parallel-ebsco-wrapper.sh
index 6e696d9..2d6f4a3 100755 (executable)
@@ -9,7 +9,7 @@ if [ -z "${MAKEOPTS}" ]; then
        exit 1
 fi
 [ -z "${T}" ] && export T=$(date -u +%Y%m%dT%H%M%SZ)
-[ -z "${OUTDIR}" ] && export OUTDIR=$(mktemp --tmpdir -d ebsco_export.XXXXXXX)
+[ -z "${OUTDIR}" ] && export OUTDIR=$(mktemp --tmpdir -d ebsco_export.$T.XXXXXXX)
 cd $OUTDIR
 $DIR/fetch-shortcodes.sh
 cd $DIR
@@ -32,4 +32,4 @@ EOF
 lftp -f lftp.cmd
 chmod +x email-template-ebsco.sh
 ./email-template-ebsco.sh "$T" "@$(date +%s)" >email.txt
-/usr/lib/sendmail <email.txt
+/usr/lib/sendmail -f rjohnson@sitka.bclibraries.ca <email.txt