update email and working dir

This commit is contained in:
root committed 2025-06-20 12:29:30 +01:00
1 parent 6315c1e67c
commit 9c5026b565
1 file changed
+5 -2
+5 -2
View File
@@ -17,6 +17,8 @@ function main() {
local LIN_DIR="/mnt/linux" local LIN_DIR="/mnt/linux"
local WIN_DIR="/mnt/windows" local WIN_DIR="/mnt/windows"
[[ -d "/opt/os-transfer" ]] && cd "/opt/os-transfer"
local SPACE_PROJECT_MAP="./space-project-map" local SPACE_PROJECT_MAP="./space-project-map"
[[ -f "$SPACE_PROJECT_MAP" ]] || \ [[ -f "$SPACE_PROJECT_MAP" ]] || \
{ {
@@ -331,8 +333,8 @@ function purge_files() {
function email() { function email() {
local SUBJECT="Space Openstack File Transfer" local SUBJECT="Space Openstack File Transfer"
local MAIL_FROM="os-transfer@adbraun.lol" local MAIL_FROM="hpcsys-bayes@epcc.ed.ac.uk"
local RCPT_TO="adam@adbraun.lol" local RCPT_TO="hpcsys-bayes@epcc.ed.ac.uk r.davies@epcc.ed.ac.uk analytical.workbench@gov.scot a.brown@epcc.ed.ac.uk"
: > "$SPACE_EMAIL_FILE" : > "$SPACE_EMAIL_FILE"
@@ -380,3 +382,4 @@ function email() {
} }
main "$@" main "$@"