Save some original variables in job script.
@@ -35,6 +35,16 @@ action() {
local dashboard_data="$( echo "$6" | base64 --decode )"
+ #
+ # save variables that might be changed downstream
+ #
+
+ export LAW_JOB_ORIGINAL_HOME="$HOME"
+ export LAW_JOB_ORIGINAL_TMP="$TMP"
+ export LAW_JOB_ORIGINAL_TEMP="$TEMP"
+ export LAW_JOB_ORIGINAL_TMPDIR="$TMPDIR"
+
+
#
# create a job home directory and tmp dirs, change into the job home dir, copy all input files
#
