-
Notifications
You must be signed in to change notification settings - Fork 2
hdpm env
Nathan Sparks edited this page Jun 12, 2017
·
2 revisions
Print GlueX environment variables
Print GlueX environment variables.
Pass an environment variable as an argument to select it.
-w,--write flag: Write bash and tcsh environment-setup scripts to $GLUEX_TOP/.hdpm/env/NAME.[c]sh.
This command can also be used to set/unset GlueX env variables in your shell. See examples below.
hdpm env [VAR]
1. hdpm env
2. hdpm env -s bash
3. (a) eval `hdpm env` (Set env for tcsh shell)
(b) eval `hdpm env -u` (Unset env for tcsh shell)
4. (a) eval "$(hdpm env)" (Set env for bash shell)
(b) eval "$(hdpm env -u)" (Unset env for bash shell)
-s, --shell string Print commands for bash or tcsh shell
-u, --unset Print unset commands for GlueX env variables
-w, --write Write env scripts to $GLUEX_TOP/.hdpm/env/
- hdpm - A tool for managing GlueX offline software and dependencies