]> andersk Git - gssapi-openssh.git/commitdiff
set GLOBUS_LOCATION environment variable in child process so scp will work
authorjbasney <jbasney>
Wed, 3 Jul 2002 19:30:36 +0000 (19:30 +0000)
committerjbasney <jbasney>
Wed, 3 Jul 2002 19:30:36 +0000 (19:30 +0000)
openssh/session.c

index faadd0aad5eb54bb331210ae4ab9e8a21f3e22f6..b5a650bf3ca8c409892438c1e3c5b920aaef44ac 100644 (file)
@@ -1012,6 +1012,12 @@ do_setup_env(Session *s, const char *shell)
        if (getenv("TZ"))
                child_set_env(&env, &envsize, "TZ", getenv("TZ"));
 
+#ifdef GSI
+       if (getenv("GLOBUS_LOCATION"))
+               child_set_env(&env, &envsize, "GLOBUS_LOCATION",
+                             getenv("GLOBUS_LOCATION"));
+#endif
+
        /* Set custom environment options from RSA authentication. */
        if (!options.use_login) {
                while (custom_environment) {
This page took 0.049198 seconds and 5 git commands to generate.