Changeset 4895

Show
Ignore:
Timestamp:
07/02/09 14:54:58 (5 months ago)
Author:
chan
Message:

bugfix for PATH which should point to bindir not anywhere in datadir.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/src/packaging/envmods/mpich2.module.in

    r4886 r4895  
    33#  MPICH2 module for use with 'environment-modules' package: 
    44#  
    5 setenv        prefix  @prefix@ 
    6 prepend-path  PATH    @datadir@/bin 
    7 prepend-path  MANPATH @mandir@ 
     5 
     6# Define prefix so PATH and MANPATH can be updated. 
     7setenv        prefix        @prefix@ 
     8setenv        exec_prefix   @exec_prefix@ 
     9prepend-path  PATH          @bindir@ 
     10prepend-path  MANPATH       @mandir@ 
     11 
     12# Undefine prefix and exec_prefix which are too generic environment variables. 
     13unsetenv      prefix 
     14unsetenv      exec_prefix