update email and working dir
This commit is contained in:
1 parent
6315c1e67c
commit
9c5026b565
1 file changed
+5
-2
+5
-2
@@ -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 "$@"
|
||||||
|
|
||||||
Reference in new issue
Block a user