File: 1.7.4.1.lua

package info (click to toggle)
lmod 8.7.60-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,008 kB
  • sloc: sh: 6,266; makefile: 2,837; ansic: 1,513; tcl: 1,382; python: 1,050; csh: 112
file content (18 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (48)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local version = myModuleVersion()
help(
     [[The git module file defines the following environment variables:
TACC_GIT_DIR, TACC_GIT_LIB, and for
the location of the git distribution and its libraries.

Version ]],version,"\n")
whatis("Name: Git")
whatis("Version: " .. version)
whatis("Category: library, tools")
whatis("URL: http://git-scm.com")
whatis("Description: Fast Version Control System")
local base = pathJoin("/unknown/apps/git",version)
setenv("TACC_GIT_DIR", base)
prepend_path("PATH",   pathJoin(base,"bin"))
setenv("TACC_GIT_LIB", pathJoin(base,"lib"))
setenv("TACC_GIT_BIN", pathJoin(base,"bin"))