Cactus doesn't export some environment variables after changing them

Issue #1344 closed
Frank Löffler created an issue

Cactus doesn't export some environment variables after changing them. The attached patch fixes this.

Keyword:

Comments (4)

  1. Erik Schnetter
    • removed comment

    Is this actually necessary? It seems that #1345 indicates that the variables are already marked for export, and these additional export statements are not necessary.

  2. Frank Löffler reporter
    • changed status to resolved
    • removed comment

    Right, what I didn't know: 'export' doesn't put the current value of a variable into the shell environment (and thus passes that to subshells), but only marks it to be passed down. Thus, one export is sufficient to always pass the current value down subshells.

  3. Log in to comment