Improve strings.
authorRobin H. Johnson <rjohnson@sitka.bclibraries.ca>
Wed, 18 Sep 2013 14:08:38 +0000 (07:08 -0700)
committerRobin H. Johnson <rjohnson@sitka.bclibraries.ca>
Wed, 18 Sep 2013 14:08:38 +0000 (07:08 -0700)
marc_export_custom/mucn-full-export-parallel-ebsco-wrapper.sh
marc_export_custom/sitka-full-export-parallel-outlook-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
index fb84fa6..b5a5dc5 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 outlook_export.XXXXXXX)
+[ -z "${OUTDIR}" ] && export OUTDIR=$(mktemp --tmpdir -d outlook_export.$T.XXXXXXX)
 cd $OUTDIR
 $DIR/fetch-shortcodes.sh
 cd $DIR
@@ -32,4 +32,4 @@ EOF
 lftp -f lftp.cmd
 chmod +x email-template-outlook.sh
 ./email-template-outlook.sh "$T" "@$(date +%s)" >email.txt
-/usr/lib/sendmail <email.txt
+/usr/lib/sendmail -f rjohnson@sitka.bclibraries.ca <email.txt