diff options
author | siddharth <s@ricketyspace.net> | 2021-11-27 19:34:51 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-27 19:34:51 -0500 |
commit | 0b5d8332f1549f4dd4df7835c26767da441bb436 (patch) | |
tree | 8b674575a900d8effe3b11a69a328f99a62f70f8 /src/gitb-init.sh | |
parent | 037a0ef778186fd527f4f64deadd2dc46583e53b (diff) |
Escape environment variable names.
Diffstat (limited to 'src/gitb-init.sh')
-rwxr-xr-x | src/gitb-init.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gitb-init.sh b/src/gitb-init.sh index f943447..0cb0829 100755 --- a/src/gitb-init.sh +++ b/src/gitb-init.sh @@ -16,23 +16,23 @@ usage () ./gitb-init.sh REPO_NAME [REPOS_DIR] [REMOTE_HOST] REPOS_DIR - Bare repos directory; if not specified - $GITBI_DIR is used. + \$GITBI_DIR is used. REMOTE_HOST - Remote host name (user@host.name); if - not specfied $GITBI_HOST is used + not specfied \$GITBI_HOST is used Examples: ./gitb-init.sh project-snafu.git vcs/git/projects user@fortytwo.net - Will install bare git repository $HOME/vcs/git/projects/project-snafu.git + Will install bare git repository \$HOME/vcs/git/projects/project-snafu.git at host fortytwo.net. ./gitb-init.sh project-snafu.git vcs/git/projects - Will install bare git repository $HOME/vcs/git/projects/project-snafu.git - at host defined by environment variable $GITBI_HOST. + Will install bare git repository \$HOME/vcs/git/projects/project-snafu.git + at host defined by environment variable \$GITBI_HOST. ./gitb-init.sh project-snafu.git - Will install bare git repository $HOME/GITBI_DIR/project-snafu.git - at host defined by environment variable $GITBI_HOST, where path GITBI_DIR - is defined by environment variable $GITBI_DIR. + Will install bare git repository \$HOME/GITBI_DIR/project-snafu.git + at host defined by environment variable \$GITBI_HOST, where path GITBI_DIR + is defined by environment variable \$GITBI_DIR. EOF } |