summaryrefslogtreecommitdiffstats
path: root/src/gitb-init.sh
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2017-12-11 03:34:51 +0000
committerrsiddharth <s@ricketyspace.net>2017-12-11 03:34:51 +0000
commit088a70e9473ecf09b58d7fa03467db59c0347bdc (patch)
tree6c5afe9f9e6087f575084b01736e562b6aecd297 /src/gitb-init.sh
parent1a403a436205a6ed8659f2f341914413b27ed48d (diff)
src/gitb-init.sh: Fix REPOS_DIR assignment.
Diffstat (limited to 'src/gitb-init.sh')
-rwxr-xr-xsrc/gitb-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gitb-init.sh b/src/gitb-init.sh
index 0261405..3ed5bee 100755
--- a/src/gitb-init.sh
+++ b/src/gitb-init.sh
@@ -58,7 +58,7 @@ fi
if [ ! -z $2 ]; then
REPOS_DIR=$2
elif [ ! -z $GITBI_DIR ]; then
- REPOS_DIR=$2
+ REPOS_DIR=$GITBI_DIR
else
echo 'ERROR: Bare repos directory not specified.'
usage