diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-09-10 06:33:21 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-09-10 06:33:21 -0400 |
| commit | 90eeb3797adfeee99eb027db0f5b29e4df0943a3 (patch) | |
| tree | 6bdb168db6b53607a5ca1f4bbdd13043eefbfbf1 | |
| parent | 5d463c9d8f122169d01935bf3b5d0539e8ce95e0 (diff) | |
| download | sbostuff-90eeb3797adfeee99eb027db0f5b29e4df0943a3.tar.gz | |
offerbuild: allow editing the mail before sending.
| -rwxr-xr-x | admin/offerbuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/admin/offerbuild b/admin/offerbuild index d067888..ab8536e 100755 --- a/admin/offerbuild +++ b/admin/offerbuild @@ -65,9 +65,15 @@ EOF cat $tmpfile echo - echo -n "=> Send this email[y]? " + echo -n "=> Send this email[Y/n/e(dit)]? " read j + if [ "$j" = "e" -o "$j" = "E" ]; then + vi $tmpfile + j="y" + fi + + if [ "$j" = "y" -o "$j" = "Y" -o "$j" = "" ]; then j="y" echo "==> Sending email to $mailto" |
