Problem 909

Summary: if g4non_display is non-null, G4WORKDIR is not set by env.sh when it should be
Product: Geant4 Reporter: gahs
Component: configAssignee: Serguei.Sadilov
Status: RESOLVED FIXED    
Severity: normal CC: Ben.Morgan
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   

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