]> git.ozlabs.org Git - next-scripts/blobdiff - send_email
change the order of arguments to send_email
[next-scripts] / send_email
index 9930ad2b10e4742ced3431ee54fc467a38bf0af6..b572b9c9ddec3714e1bc798ac3a23ea4a6eb9062 100755 (executable)
@@ -3,9 +3,9 @@
 mail_dir=$(realpath --relative-to=. "$(dirname "$0")/../mails")
 printf -v TARGET '%s/%(i%Y-%m-%d+%s)T.email' "$mail_dir" -1
 
-to="$1"
-cc="$2"
-subject="$3"
+subject="$1"
+to="$2"
+cc="$3"
 
 {
        cat <<EOF