summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tet3/tcm/tcmfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tet3/tcm/tcmfuncs.c b/src/tet3/tcm/tcmfuncs.c
index db6163db..004e7cd6 100644
--- a/src/tet3/tcm/tcmfuncs.c
+++ b/src/tet3/tcm/tcmfuncs.c
@@ -145,7 +145,7 @@ char **argv;
/* get TET_ROOT out of the environment */
if ((envstring = getenv(tetroot_name)) == (char *) 0 || !*envstring)
- fatal(0, tetroot_name, envmsg);
+ envstring = strdup(".");
(void) sprintf(tet_root, "%.*s", (int) sizeof tet_root - 1, envstring);
/* get the dtet ti args out of the environment and count them */