#%Module#####################################################################
# TACC local environment module file     $Date: 20.4.5/09/24 21:27:11 $
#
# This module file appends the relevant paths in /usr/local to the end
# of $PATH and $MANPATH. If you want the local software suite to be searched
# before the Cray-supplied paths, unload the `TACC' module and load the
# `local' module in your .login_user file.
#
# Do not edit this file directly as it is under RCS control.
#
#############################################################################
proc ModulesHelp { } {
puts stderr "The tgproxy-0.9.1 modulefile defines the default paths and environment"
puts stderr "variables needed to display the TACC TeraGrid policy available"
puts stderr "in /share/apps/teragrid/tgproxy-0.9.1, placing them before the vendor-supplied"
puts stderr "paths in PATH and MANPATH.:"
}

module-whatis "Name: TGProxy"
module-whatis "Version: 0.9.1"
module-whatis "Category: grid"
module-whatis "URL: http://software.teragrid.org/install.htm"
module-whatis "Description: TeraGrid Proxy utility"

#setenv X509_USER_PROXY `/share/apps/teragrid/tgproxy-0.9.1-r1/bin/set-user-proxy`
#[catch {exec /share/apps/teragrid/tgproxy-0.9.1-r1/bin/set-user-proxy} results X]
catch {exec /share/apps/teragrid/tgproxy-0.9.1-r1/bin/set-user-proxy} X
setenv X509_USER_PROXY ${X}
