Problem 909 - if g4non_display is non-null, G4WORKDIR is not set by env.sh when it should be
Summary: if g4non_display is non-null, G4WORKDIR is not set by env.sh when it should be
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 8.1
Hardware: All All
: P2 normal
Assignee: Serguei.Sadilov
URL:
Depends on:
Blocks:
 
Reported: 2006-11-16 11:07 CET by gahs
Modified: 2006-12-11 06:24 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description gahs 2006-11-16 11:07:32 CET
A misplaced if statement in env.sh (as created by Configure) results in
G4WORKDIR not being set if g4non_display is non-null when G4WORKDIR otherwise
would be.  I think this is generally not what was intended.  The problem block
is near lines 540-555 in env.sh, and the solution will be obvious when you see
it.  Fixing it would be nice because then users could set $g4non_display before
sourcing env.sh.
Comment 1 Gabriele Cosmo 2006-11-17 02:49:59 CET
To be noticed that this setup with $g4non_display is NOT present in the csh version
of the generated script ...
Problem assigned to the responsible.
Comment 2 Serguei.Sadilov 2006-12-11 06:25:59 CET
Thank you for good description!
It was resolved and will be included in release 8.2